unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 22581@debbugs.gnu.org
Subject: bug#22581: Strange minibuffer prompt on exiting Emacs
Date: Sun, 07 Feb 2016 19:58:46 +0200	[thread overview]
Message-ID: <838u2ws8q1.fsf@gnu.org> (raw)
In-Reply-To: <CAPM58ogPnsqdgSv-WB+Hi8SVZH9L=bwJcacnMLkTNkHusu_ZnQ@mail.gmail.com> (message from Richard Copley on Sun, 7 Feb 2016 11:33:15 +0000)

> From: Richard Copley <rcopley@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.





  parent reply	other threads:[~2016-02-07 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-07 11:33 bug#22581: Strange minibuffer prompt on exiting Emacs Richard Copley
2016-02-07 17:43 ` martin rudalics
2016-02-07 17:58 ` Eli Zaretskii [this message]
2016-02-24 20:52 ` Stefan Monnier
2016-02-24 21:09   ` Richard Copley
2016-02-25  0:19     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838u2ws8q1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22581@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rcopley@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).