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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19096: closed (25.0.50; suggest-key-bindings doesn't work
 with a nil value)
Date: Sun, 26 Jun 2016 17:50:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 26 Jun 2016 13:49:28 -0400
with message-id <CAM-tV--bR-yzAswhcA4yUSENJ=7cY8pQLgjFfmccHv3ytf=i7g <at> mail.gmail.com>
and subject line Bug #19096: 25.0.50; suggest-key-bindings doesn't work with a nil value
has caused the debbugs.gnu.org bug report #19096,
regarding 25.0.50; suggest-key-bindings doesn't work with a nil value
to be marked as done.

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


-- 
19096: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19096
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vicente Vera <vicentemvp <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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.


[Message part 3 (message/rfc822, inline)]
From: Noam Postavsky <npostavs <at> gmail.com>
To: 19096-done <at> debbugs.gnu.org
Subject: Bug #19096: 25.0.50;
 suggest-key-bindings doesn't work with a nil value
Date: Sun, 26 Jun 2016 13:49:28 -0400
Version: 25.0.95

AFAICT this is fixed in Emacs 25 pretest.


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.