emacs-devel
[Top][All Lists]
Advanced

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

Re: [CVS] f7, f8 bound..


From: Kai Großjohann
Subject: Re: [CVS] f7, f8 bound..
Date: Mon, 02 Sep 2002 19:54:39 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

"Stefan Monnier" <monnier+gnu/address@hidden> writes:

> And most likely, it'll be important to do the diff-list kind of trick
> so that users can enter (and save) additions and removals rather
> than editing/saving the whole keymap which will quickly lead
> to undesired effects when upgrading (where the user won't ses the
> new bindings).

Another approach could be to have Emacs look for keybindings in
global-user-map before looking in global-map.  The default value for
global-user-map would be nil (or whatever the value is for an empty
keymap).  Then the keymap can just be set directly, and the diff-list
trick is not necessary.

Btw, what is the plan about the diff-list trick?  It seems that
Customize could be augmented to implement this, or numerous places in
Emacs could be changed so that the diff-list trick is not needed: for
each foo-hook, introduce another foo-user-hook variable defaulting to
nil.  Similar for other variables which are lists, such as load-path.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)




reply via email to

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