GNU bug report logs -
#7967
23.2.93; keybindings should be echoed in *Message* buffer
Previous Next
Reported by: "Roland Winkler" <winkler <at> gnu.org>
Date: Wed, 2 Feb 2011 18:02:01 UTC
Severity: wishlist
Tags: patch
Found in version 23.2.93
Fixed in version 24.1
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 7967 <at> debbugs.gnu.org (full text, mbox):
On Thu, Feb 3, 2011 at 12:25 AM, Roland Winkler <winkler <at> gnu.org> wrote:
> On Thu Feb 3 2011 Lennart Borgman wrote:
>> On Wed, Feb 2, 2011 at 7:09 PM, Roland Winkler <winkler <at> 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.
Maybe it would still be good with a separate option for recording the
suggestions in the *Messages* buffer?
I am not sure. To implement your suggestion all that is needed is to
replace message2_nolog with message2 in Fexecute_extended_command in
keyboard.c.
This bug report was last modified 14 years and 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.