GNU bug report logs - #22581
Strange minibuffer prompt on exiting Emacs

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Sun, 7 Feb 2016 11:34:02 UTC

Severity: normal

Merged with 21797, 22688

Found in versions 25.0.50, 25.0.91

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 22581 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 22581 <at> debbugs.gnu.org
Subject: Re: bug#22581: Strange minibuffer prompt on exiting Emacs
Date: Sun, 07 Feb 2016 19:58:46 +0200
> From: Richard Copley <rcopley <at> gmail.com>
> 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.




This bug report was last modified 9 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.