[Top][All Lists]

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

Re: Customizing key bindings

From: Alex Schroeder
Subject: Re: Customizing key bindings
Date: Sat, 07 Sep 2002 15:48:27 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu)

Per Abrahamsen <address@hidden> writes:

> Alex Schroeder <address@hidden> writes:
>> I think this does the right thing, now -- it modifies the keymap
>> directly.  It can restore bindings because it keeps a list of settings
>> it shadows.  Currently the documentation shown in the customize buffer
>> is from the global map, this still needs fixing.  See the FIXME
>> tags...  :)
> Well, this is the 90% solution, where removing a custom bindings will
> work in the common case that it hasn't been changed through Lisp since
> it was added.

Right.  Now we can change define-key to also do the necessary
book-keeping, updating the shadowed bindings...  Or something like
that, if somebody wants to really fix this.

>>       :type '(repeat (group key-sequence command))
> I think you should use the key-binding widget, as we might want to
> allow key-sequence and command to talk to each other later.
> E.g. implement the feature RMS suggested, that entering a key-sequence
> should initialize the command field, if not already set.

key-binding widget?  I must have missed that.  Will look at the old
mails.  Unfortunately I already have 17 messages in this thread marked
as important, so it gets more difficult to put it all into context,


reply via email to

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