unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25612@debbugs.gnu.org
Subject: bug#25612: 26.0.50; Slightly suboptimal message for disabled commands
Date: Fri, 03 Feb 2017 14:15:30 +0000	[thread overview]
Message-ID: <CAArVCkTdPpB6pxEETt8A_yKGa971hOHfZsJ8YTyBqM5ZpZMKPQ@mail.gmail.com> (raw)
In-Reply-To: <831svfv2d5.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

Eli Zaretskii <eliz@gnu.org> schrieb am Fr., 3. Feb. 2017 um 14:19 Uhr:

> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Fri, 03 Feb 2017 13:34:09 +0100
> >
> > Run M-x erase-buffer.  The *Disabled Command* buffer that shows up
> > contains
> >
> >   You have typed RET, invoking disabled command erase-buffer.
> >
> > This should rather be
> >
> >   You have typed M-x erase-buffer RET, invoking disabled command
> >   erase-buffer.
> >
> > The RET alone of course didn't invoke the command, it just happens to be
> > the last keystroke, so this message might be somewhat confusing.
>
> Depending on your POV, it could be argued that RET is the one that
> actually invoked the command.
>
> Perhaps the message should avoid showing the key sequence at all?
>

It seems that this is the intention of lines 54 through 62 in novice.el,
but it doesn't seem to work any more.
This is a regression: it still works as expected in Emacs 23.4, but no
longer in Emacs 24.3. Probably something about this-command-keys or
command-execute changed in the meantime so that the code in novice.el no
longer works as expected.

[-- Attachment #2: Type: text/html, Size: 1958 bytes --]

  reply	other threads:[~2017-02-03 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03 12:34 bug#25612: 26.0.50; Slightly suboptimal message for disabled commands Philipp Stephani
2017-02-03 13:19 ` Eli Zaretskii
2017-02-03 14:15   ` Philipp Stephani [this message]
2017-02-03 15:10     ` Eli Zaretskii
2017-02-03 15:54       ` Philipp Stephani
2017-02-03 21:16         ` Eli Zaretskii
2017-02-10  9:00           ` Eli Zaretskii
2017-02-12 15:12             ` Philipp Stephani
2017-02-18 10:31               ` Eli Zaretskii

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=CAArVCkTdPpB6pxEETt8A_yKGa971hOHfZsJ8YTyBqM5ZpZMKPQ@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=25612@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).