emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unreading a command key sequence


From: Stefan Monnier
Subject: Re: unreading a command key sequence
Date: Tue, 06 May 2008 22:31:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>   (setq unread-command-events
>         (listify-key-sequence (this-command-keys-vector)))

[ Ideally, you should not assume that unread-command-events was nil.  ]

> The missing bit that lead to the looping was setting last-command-char
> to nil.

> Maybe something like this could be included in the manual in
> (info "(elisp) Event Input Misc")?

I'd rather fix whichever code is responsible for the inf-loop.
Can you provide a recipe to reproduce the problem?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]