emacs-devel
[Top][All Lists]
Advanced

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

Bug with key echo.


From: David Kastrup
Subject: Bug with key echo.
Date: Wed, 26 Jan 2005 01:48:12 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Execute the following two commands.

(define-key ctl-x-map "\C-p" nil)
(define-key ctl-x-map "\C-p\C-p" (lambda nil (interactive) (y-or-n-p "Woozle 
")))

Now type C-x C-p and wait until the key echo appears.  Then type C-p
again.

Instead of a display of
Woozle (y or n)
in the echo area, you get
C-x C-p C-p-
which makes it somewhat hard to guess at the question.  This bug has
been plagueing me for years, but I have not been able to come up with
a working test case for it.

It seems to be a combination of intermediate map and multiple key
stroke following that is involved here.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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