[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Key bindings proposal
From: |
Stefan Monnier |
Subject: |
Re: Key bindings proposal |
Date: |
Thu, 29 Jul 2010 16:05:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> It seems to me that these "actions" are a form of abstract operations.
>> The actions implemented by a mode can be regarded as its interface.
> I think it's a good idea (and have advocated it before),
Yes, although we already do have something similar:
- the function-key-map can be used to map <key-sequence> to
<logical-key>, where logical key is similar to <action>. It is not
used much in this way (mostly for TAB and DEL and a handful more at
best).
- the key remapping (where the remapped command acts as the <action> as
well as its default binding).
- things like fill-paragraph-function, line-indent-function, ...
The last one is usually the most effective (since it can affect several
related bindings at the same time, and do it in the right way).
> but no, it won't solve the problem of re-skinning.
Indeed.
> problem" as someone in this thread so aptly put it) or preserving
> patterns which are an important feature of Emacs' current bindings or
> [e.g. the "n/f type bindings go forward", etc].
For these, I think it would be good to be able to have "(de?)composed
bindings", where you could bind `n' and `f' to some special keymap-like
thingies and then therein bind C-, M-, and M-C- to other special thingies.
The intention would be to reflect the structure directly into
the keymap. This would apply to several other cases.
Stefan
- Re: Key bindings proposal, (continued)
- Re: Key bindings proposal, Eric M. Ludlam, 2010/07/27
- Re: Key bindings proposal, Stephen J. Turnbull, 2010/07/27
- Re: Key bindings proposal, Stefan Monnier, 2010/07/27
- Re: Key bindings proposal, Stephen J. Turnbull, 2010/07/27
- Re: Key bindings proposal, Uday S Reddy, 2010/07/27
- Re: Key bindings proposal, Stephen J. Turnbull, 2010/07/28
- Re: Key bindings proposal, Uday S Reddy, 2010/07/28
- Re: Key bindings proposal, Stephen J. Turnbull, 2010/07/29
- Re: Key bindings proposal, Uday S Reddy, 2010/07/27
- Re: Key bindings proposal, Miles Bader, 2010/07/27
- Re: Key bindings proposal,
Stefan Monnier <=
Re: Key bindings proposal, Uday S Reddy, 2010/07/29
- Re: Key bindings proposal, Andreas Röhler, 2010/07/29
- Re: Key bindings proposal, Mathias Dahl, 2010/07/31
- Re: Key bindings proposal, Uday S Reddy, 2010/07/31
- Re: Key bindings proposal, Alan Mackenzie, 2010/07/31
- RE: Key bindings proposal, Drew Adams, 2010/07/31
coding guidelines? (was Re: Key bindings proposal), Joe Brenner, 2010/07/29