From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Key-binding without minor mode!
Date: Thu, 11 Sep 2014 14:46:31 -0400 [thread overview]
Message-ID: <jwv4mwedmn3.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87sijyb43f.fsf@newcastle.ac.uk
> But if the major-mode defines binds to [tab] then it will override the
> minor mode.
Indeed. It might be a bug in the major-mode, tho (which manifests
for example under ttys where the TAB key sends a \t rather than a `tab').
> I think I have no choice but to handle tab explicitly. Is [tab] the only
> key that works like this?
No. What you're trying to do is inherently tricky/fiddly/unreliable
because Emacs's key-binding infrastructure is not designed for that.
You might want to report a bug asking for some feature that lets you do
what you want (which I suspect is something like "let my command
delegate to the next command bound to this key").
Stefan
next prev parent reply other threads:[~2014-09-11 18:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 11:47 Key-binding without minor mode! Phillip Lord
2014-09-11 12:19 ` Stefan Monnier
2014-09-11 14:22 ` Phillip Lord
2014-09-11 14:31 ` Stefan Monnier
2014-09-11 14:53 ` Phillip Lord
2014-09-11 18:46 ` Stefan Monnier [this message]
2014-09-12 9:50 ` Phillip Lord
2014-09-12 11:51 ` Stefan Monnier
2014-09-12 15:24 ` Phillip Lord
2014-09-12 16:56 ` Stefan Monnier
2014-09-15 12:48 ` Phillip Lord
2014-09-15 14:19 ` Stefan Monnier
2014-09-15 15:58 ` Phillip Lord
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4mwedmn3.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).