unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Strange behavior of C-u in the presence of sit-for in p-c-h
@ 2006-10-14 16:44 Stefan Monnier
  2006-10-16 13:50 ` Richard Stallman
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Monnier @ 2006-10-14 16:44 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2006-10-22 22:54 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-14 16:44 Strange behavior of C-u in the presence of sit-for in p-c-h Stefan Monnier
2006-10-16 13:50 ` Richard Stallman
2006-10-16 16:04   ` Stefan Monnier
2006-10-17  6:54     ` Richard Stallman
2006-10-17 14:50       ` Chong Yidong
2006-10-17 21:11         ` Chong Yidong
2006-10-17 22:12           ` Stefan Monnier
2006-10-17 22:18             ` Chong Yidong
2006-10-18  1:57           ` Stefan Monnier
2006-10-18  2:19             ` Chong Yidong
2006-10-18  5:57               ` Stefan Monnier
2006-10-18 14:28                 ` Chong Yidong
2006-10-18 15:23                   ` Stefan Monnier
2006-10-19  6:41                     ` Richard Stallman
2006-10-19  6:41                   ` Richard Stallman
2006-10-19 14:31                     ` Chong Yidong
2006-10-19 14:51                   ` Johan Bockgård
2006-10-18 17:54             ` Richard Stallman
2006-10-18 23:57               ` Chong Yidong
2006-10-19  9:01                 ` Kim F. Storm
2006-10-19 21:09         ` Kim F. Storm
2006-10-19 21:25           ` Chong Yidong
2006-10-19 21:09         ` Kim F. Storm
2006-10-21  2:03           ` Richard Stallman
2006-10-22 22:54             ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).