GNU bug report logs - #19096
25.0.50; suggest-key-bindings doesn't work with a nil value

Previous Next

Package: emacs;

Reported by: Vicente Vera <vicentemvp <at> gmail.com>

Date: Tue, 18 Nov 2014 16:50:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.0.95

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vicente Vera <vicentemvp <at> gmail.com>
To: 19096 <at> debbugs.gnu.org
Subject: bug#19096: 25.0.50; suggest-key-bindings doesn't work with a nil value
Date: Tue, 18 Nov 2014 10:56:01 -0300
In Emacs 25.0.50.1 (repository revision:
5813f93cab1a81eba6eef735add5ca7cb1d15e8e) the function
'execute-extended-command' accepts only numeric values from the
variable 'suggest-key-bindings'. Setting a nil value won't disable the
suggestion message shown in the minibuffer.

In 'simple.el', line 1691, the function looks for a non-nil value in
'suggest-key-bindings', but afterwards it only accepts numeric values.
Therefore, a nil value will trigger the default behaviour, which is
printing the "You can run the command `%s' with %s" message after 2
seconds. A workaround: setting 'suggest-key-bindings' to 0.

Also, in line 1670, a conditional construct has been commented out:
";; (when binding". But it seems this is not directly related with the
issue.




This bug report was last modified 9 years and 25 days ago.

Previous Next


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