Subject: bug#7967: closed (Re: bug#7967: 23.2.93; keybindings should be echoed in *Message* buffer)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 30 Mar 2011 13:38:02 +0000

Your bug report

#7967: 23.2.93; keybindings should be echoed in *Message* buffer

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
7967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7967
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#7967: 23.2.93; keybindings should be echoed in *Message* buffer
From: Stefan Monnier <[email-masked]>
To: Zachary Kanfer <[email-masked]>
Cc: [email-masked]
Date: Wed, 30 Mar 2011 09:37:27 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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 <[email-masked]> 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

Subject: 23.2.93; keybindings should be echoed in *Message* buffer
From: "Roland Winkler" <[email-masked]>
To: [email-masked]
Date: Wed, 02 Feb 2011 12:09:28 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

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