From: Lennart Borgman <lennart.borgman@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Why is this-command-keys missing?
Date: Sat, 1 Jan 2011 19:59:26 +0100 [thread overview]
Message-ID: <AANLkTinhByodjNu5F83kh_3YO+nfX3tWv7wVSMJcfrEi@mail.gmail.com> (raw)
compilation-mode binds
(define-key map "\t" 'compilation-next-error)
You can use TAB to go to next error because of this.
However if you hit TAB then this-command-keys will contain (something
similar to) TAB and not "\t". So you can't do
(key-binding (this-command-keys) t)
to get back the binding that is really active, i.e. compilation-next-error.
What are you supposed to do in a case like this to get back the key
binding compilation-next-error?
next reply other threads:[~2011-01-01 18:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-01 18:59 Lennart Borgman [this message]
2011-01-02 1:57 ` Why is this-command-keys missing? Stefan Monnier
2011-01-02 2:38 ` Lennart Borgman
2011-01-02 4:19 ` Stefan Monnier
2011-01-02 4:29 ` Lennart Borgman
2011-01-02 14:42 ` Stefan Monnier
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=AANLkTinhByodjNu5F83kh_3YO+nfX3tWv7wVSMJcfrEi@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@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.