emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 27 Jul 2010 14:03:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> In most cases the intention is "bind it to a short sequence
> I personally don't use otherwise, and otherwise arbitrary,"
> I would expect.

Indeed, that's how it's been used, and it works OK for such uses.

>> Using `remap' is one way to express such an intention.
> Not really.  Remap is about deprecating a command, not really about
> key sequence choice.

Not at all.  `remap' is typically not used by the user in his .emacs but
by major/minor modes to locally/temporarily replace particular commands
by other ones (and to do so in a declarative way ;-), so that if the
user (or some other mode) has rebound this command elsewhere, the
remapping still works as intended.  Before that, packages used
substitute-key-definition for that purpose, but that was not as
declarative and it only adapted to changes in global bindings.


        Stefan



reply via email to

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