GNU bug report logs - #7967
23.2.93; keybindings should be echoed in *Message* buffer

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7967: closed (23.2.93; keybindings should be echoed in
 *Message* buffer)
Date: Wed, 30 Mar 2011 13:38:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 30 Mar 2011 09:37:27 -0400
with message-id <jwvwrjgafwp.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#7967: 23.2.93; keybindings should be echoed in *Message* buffer
has caused the GNU bug report #7967,
regarding 23.2.93; keybindings should be echoed in *Message* buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7967
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2.93; keybindings should be echoed in *Message* buffer
Date: Wed, 02 Feb 2011 12:09:28 -0600
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.


In GNU Emacs 23.2.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-02-02 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Zachary Kanfer <zkanfer <at> gmail.com>
Cc: 7967-done <at> debbugs.gnu.org
Subject: Re: bug#7967: 23.2.93;
	keybindings should be echoed in *Message* buffer
Date: Wed, 30 Mar 2011 09:37:27 -0400
Version: 24.1

> My mistake--forgot to clean out a comment in the last patch. Attached is a
> fixed one, properly indented.

Thank you, installed,


        Stefan


> On Thu, Mar 10, 2011 at 11:49 PM, Zachary Kanfer <zkanfer <at> gmail.com> wrote:

>> Attached is a patch which implements this functionality.
>> -Zachary Kanfer
>> 
> === modified file 'src/keyboard.c'
> *** src/keyboard.c	2011-02-16 16:35:16 +0000
> --- src/keyboard.c	2011-03-11 05:41:00 +0000
> *************** give to the command you invoke, if it as
> *** 10302,10310 ****
>   	  sprintf (newmessage, "You can run the command `%s' with %s",
>   		   SDATA (SYMBOL_NAME (function)),
>   		   SDATA (binding));
> ! 	  message2_nolog (newmessage,
> ! 			  strlen (newmessage),
> ! 			  STRING_MULTIBYTE (binding));
>   	  if (NUMBERP (Vsuggest_key_bindings))
>   	    waited = sit_for (Vsuggest_key_bindings, 0, 2);
>   	  else
> --- 10302,10310 ----
>   	  sprintf (newmessage, "You can run the command `%s' with %s",
>   		   SDATA (SYMBOL_NAME (function)),
>   		   SDATA (binding));
> ! 	  message2 (newmessage,
> ! 		    strlen (newmessage),
> ! 		    STRING_MULTIBYTE (binding));
>   	  if (NUMBERP (Vsuggest_key_bindings))
>   	    waited = sit_for (Vsuggest_key_bindings, 0, 2);
>   	  else




This bug report was last modified 14 years and 57 days ago.

Previous Next


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