From: Vicente Vera <vicentemvp@gmail.com>
To: 19096@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 [thread overview]
Message-ID: <CAMfbzvBxztYidGMFUVQE2UPt__LmWw2wkfUiJJy24AcccTpbdQ@mail.gmail.com> (raw)
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.
next reply other threads:[~2014-11-18 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 13:56 Vicente Vera [this message]
2016-06-26 17:49 ` bug#19096: Bug #19096: 25.0.50; suggest-key-bindings doesn't work with a nil value Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMfbzvBxztYidGMFUVQE2UPt__LmWw2wkfUiJJy24AcccTpbdQ@mail.gmail.com \
--to=vicentemvp@gmail.com \
--cc=19096@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.