help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key-binding without minor mode!


From: Stefan Monnier
Subject: Re: Key-binding without minor mode!
Date: Thu, 11 Sep 2014 14:46:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]