From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sand@blarg.net Newsgroups: gmane.emacs.bugs Subject: `Echo-keystrokes' feedback hides `confirm-kill-emacs' command prompt Date: 1 Jun 2004 03:48:06 -0000 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040601034806.27493.qmail@celia.serv.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086061705 15258 80.91.224.253 (1 Jun 2004 03:48:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2004 03:48:25 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 01 05:48:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BV0G9-00086o-00 for ; Tue, 01 Jun 2004 05:48:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BV0GM-0000i3-SX for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2004 23:48:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BV0GL-0000fw-Kv for bug-gnu-emacs@gnu.org; Mon, 31 May 2004 23:48:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BV0GJ-0000dy-Mh for bug-gnu-emacs@gnu.org; Mon, 31 May 2004 23:48:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BV0GI-0000dm-TF for bug-gnu-emacs@gnu.org; Mon, 31 May 2004 23:48:26 -0400 Original-Received: from [206.124.143.234] (helo=celia.serv.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1BV0Fz-0002xQ-AX for bug-gnu-emacs@gnu.org; Mon, 31 May 2004 23:48:08 -0400 Original-Received: (qmail 27494 invoked by uid 1000); 1 Jun 2004 03:48:06 -0000 Original-To: bug-gnu-emacs@gnu.org X-URL: http://www.blarg.net/~sand X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8087 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!"