[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behavior of C-u in the presence of sit-for in p-c-h
From: |
Stefan Monnier |
Subject: |
Re: Strange behavior of C-u in the presence of sit-for in p-c-h |
Date: |
Wed, 18 Oct 2006 11:23:08 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Which minor mode is that?
haskell-doc-mode
> It could avoid performing the sit-for during universal-argument:
> (unless (eq this-command 'universal-argument)
> (sit-for 0.5))
Oh, I see. Well, in the case of haskell-doc-mode, the better fix is to use
an idle-timer rather than a post-command-hook. But it's still a weird bug
introduced in Emacs-22 (it was there before, but the sit-for changes made
it appear in more cases).
> Or can you think of a safe way to change the keyboard.c code?
Add a parameter to this-command-keys which, if non-nil causes it to return
all keys, even those that were `reread'.
Then use this new parameter in universal-argument.
Stefan
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, (continued)
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Stefan Monnier, 2006/10/16
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Richard Stallman, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Stefan Monnier, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Stefan Monnier, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/17
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Stefan Monnier, 2006/10/18
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/18
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h,
Stefan Monnier <=
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Richard Stallman, 2006/10/19
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Richard Stallman, 2006/10/19
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/19
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Johan Bockgård, 2006/10/19
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Richard Stallman, 2006/10/18
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/18
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Kim F. Storm, 2006/10/19
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Kim F. Storm, 2006/10/20
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Chong Yidong, 2006/10/20
- Re: Strange behavior of C-u in the presence of sit-for in p-c-h, Kim F. Storm, 2006/10/20