all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.