unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 7967@debbugs.gnu.org
Subject: bug#7967: 23.2.93; keybindings should be echoed in *Message* buffer
Date: Wed, 2 Feb 2011 17:25:08 -0600	[thread overview]
Message-ID: <19785.59348.104612.86795@gargle.gargle.HOWL> (raw)
In-Reply-To: <AANLkTi=UecVS1sWmQ+3TTz8fOSZtVxei9MUOVd5Crnhc@mail.gmail.com>

On Thu Feb 3 2011 Lennart Borgman wrote:
> On Wed, Feb 2, 2011 at 7:09 PM, Roland Winkler <winkler@gnu.org> wrote:
> > Execute any command foo with a keybinding in its "long form" M-x foo.
> > Emacs issues the message
> >
> >  You can run the command `foo' with ...
> >
> > The default is to display this message for two seconds.
> > Then the message is gone for ever.  I'd appreciate if this
> > messsage was echoed also in the *Message* buffer.
> 
> I think it is a good suggestion.
> 
> However while it can help newbies it might also disturb old users so
> it is probably best to make it default and have an option to turn it
> off.

The experienced user can already switch off these messages
completely by means of the variable

suggest-key-bindings

So all I am suggesting is really: if the keybindings are given in
the message area (because suggest-key-bindings is non-nil), then
these messages should also be recorded in the *Messages* buffer.
All this is handled by the built-in function execute-extended-command,
which is why this problem goes beyond my lisp hacking skills.

Roland





  reply	other threads:[~2011-02-02 23:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 18:09 bug#7967: 23.2.93; keybindings should be echoed in *Message* buffer Roland Winkler
2011-02-02 23:15 ` Lennart Borgman
2011-02-02 23:25   ` Roland Winkler [this message]
2011-02-02 23:48     ` Lennart Borgman
2011-02-03  0:05       ` Roland Winkler
2011-02-02 23:58   ` Deniz Dogan
2011-02-03  0:41 ` Glenn Morris
2011-02-03  1:47   ` Roland Winkler
2011-02-03  2:18     ` Lennart Borgman
2011-02-06 17:16   ` Roland Winkler
2011-02-07 15:27     ` Stefan Monnier
2011-02-09  2:52     ` Kevin Rodgers
2011-03-11  4:49 ` Zachary Kanfer
2011-03-11  5:41   ` Zachary Kanfer
2011-03-30 13:37     ` 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=19785.59348.104612.86795@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=7967@debbugs.gnu.org \
    --cc=lennart.borgman@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).