unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* `Echo-keystrokes' feedback hides `confirm-kill-emacs' command prompt
@ 2004-06-01  3:48 sand
  0 siblings, 0 replies; only message in thread
From: sand @ 2004-06-01  3:48 UTC (permalink / raw)


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!"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-01  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-01  3:48 `Echo-keystrokes' feedback hides `confirm-kill-emacs' command prompt sand

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