From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22581: Strange minibuffer prompt on exiting Emacs Date: Sun, 07 Feb 2016 19:58:46 +0200 Message-ID: <838u2ws8q1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454868026 16625 80.91.229.3 (7 Feb 2016 18:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 18:00:26 +0000 (UTC) Cc: 22581@debbugs.gnu.org To: Richard Copley , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 19:00:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSTd7-0006Xk-Md for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 19:00:13 +0100 Original-Received: from localhost ([::1]:36849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTd3-0007Ih-UH for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 13:00:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTd0-0007HX-HV for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:00:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSTcx-0005NP-Cr for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:00:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTcx-0005NE-9U for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSTcx-0002O7-0J for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Feb 2016 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22581 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22581-submit@debbugs.gnu.org id=B22581.14548679599106 (code B ref 22581); Sun, 07 Feb 2016 18:00:02 +0000 Original-Received: (at 22581) by debbugs.gnu.org; 7 Feb 2016 17:59:19 +0000 Original-Received: from localhost ([127.0.0.1]:37423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSTcF-0002Mo-DI for submit@debbugs.gnu.org; Sun, 07 Feb 2016 12:59:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54474) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSTcD-0002Mb-72 for 22581@debbugs.gnu.org; Sun, 07 Feb 2016 12:59:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSTc4-00052Q-QD for 22581@debbugs.gnu.org; Sun, 07 Feb 2016 12:59:11 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTc4-00052M-N2; Sun, 07 Feb 2016 12:59:08 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4110 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSTc2-0000O0-Bb; Sun, 07 Feb 2016 12:59:07 -0500 In-reply-to: (message from Richard Copley on Sun, 7 Feb 2016 11:33:15 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112639 Archived-At: > From: Richard Copley > Date: Sun, 7 Feb 2016 11:33:15 +0000 > > The prompt to confirm exiting Ediff has gone a bit strange. To > reproduce in "emacs -Q" (assuming files "x" and "y" exist in the > working directory): > > M-x ediff RET x RET y RET q > > The expected prompt is > "Quit this Ediff session? (y or n) ". > > The actual text shown in the minibuffer is > "Quit this Ediff session? (y or n) switch-frame-". > > (The frame switch event occurred because the little Ediff control > panel frame went away and the main frame got activated.) > > The "switch-frame-" is of course not really part of the prompt. It is > rendered like what you get when you enter an incomplete key sequence, > like "C-x-". It seems as though switch-frame is being treated as a > prefix key, but it's not treated as such in most circumstances. Try > this for example: > > C-x 5 2 ;; make-frame-command > C-h k ;; describe-key > ;; Use the window manager to activate the other frame. > ;; Minibuffer prompt is "Describe key (or click or menu item): switch-frame-") > RET > ;; *Help* buffer describes "RET", not "switch-frame RET". Stefan, could you please look into this? AFAICS, this is caused by your changes in 5dc644a to generalize the prefix-command machinery: a binary built a day before that doesn't have this problem, while a binary build 4 weeks later does. Thanks.