unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug with key echo.
@ 2005-01-26  0:48 David Kastrup
  2005-02-01 13:30 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2005-01-26  0:48 UTC (permalink / raw)



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

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

end of thread, other threads:[~2005-02-03  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-26  0:48 Bug with key echo David Kastrup
2005-02-01 13:30 ` Richard Stallman
2005-02-01 15:45   ` David Kastrup
2005-02-03  6:39     ` Richard Stallman

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).