bug-gnu-emacs
[Top][All Lists]
Advanced

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

`Echo-keystrokes' feedback hides `confirm-kill-emacs' command prompt


From: sand
Subject: `Echo-keystrokes' feedback hides `confirm-kill-emacs' command prompt
Date: 1 Jun 2004 03:48:06 -0000

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-04-06 on raven, modified by Debian
configured using `configure '--build=i386-linux' '--host=i386-linux' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var/lib' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' 
'--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux' 
'host_alias=i386-linux''
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: POSIX
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Make sure the following are set:

  (setq echo-keystrokes 1)
  (setq confirm-kill-emacs 'y-or-n-p)

Now hit `C-x'.  Wait until Emacs puts the "C-x-" feedback in the echo
area.  Now hit `C-c'.  Emacs interprets this as a key sequence for
function `save-buffers-kill-emacs' as expected.  The
`confirm-kill-emacs' function attempts to prompt you with

  Really exit Emacs? (y or n)

but this prompt is hidden by the `C-c-' that Emacs adds to the echo
area.  Only after entering `y' or `n' do you actually see it.

The keystroke echoing ought to end once we have successfully looked up
a command.  As it is, the end condition seems to be tied into Emacs
waiting for further input.

Derek

-- 
Derek Upham
sand@blarg.net

"Ha!  Your Leaping Tiger Kung Fu is no match for my Frightened Piglet style!"




reply via email to

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