emacs-devel
[Top][All Lists]
Advanced

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

Strange behavior of C-u in the presence of sit-for in p-c-h


From: Stefan Monnier
Subject: Strange behavior of C-u in the presence of sit-for in p-c-h
Date: Sat, 14 Oct 2006 12:44:52 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Try the following:

  emacs -Q --eval "(add-hook 'post-command-hook (lambda () (sit-for 0.5)))"

you'll notice that all works apparently well, except that if you hit the
universal prefix C-u, then any key pressed before the 0.5s delay will
be ignored, and after the 0.5s delay you end up with "C-u-" in the
echo area.


        Stefan




reply via email to

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