[Top][All Lists]

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

Re: [CVS] f7, f8 bound..

From: Per Abrahamsen
Subject: Re: [CVS] f7, f8 bound..
Date: Sun, 01 Sep 2002 16:22:03 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8)

Richard Stallman <address@hidden> writes:

>     (defcustom key-bindings
>       (mapcar
>        (lambda (key)
>        (cons key (global-key-binding (read-kbd-macro key))))
>        '("<f1>" "<f2>" "<f3>" "<f4>" "<f5>" "<f6>" "<f7>" "<f8>" "<f9>"
>        "<f10>" "<f11>" "<f12>" ))
> This is an interestingly simple approach.  Is there any way to adapt
> it to handle more than just function keys?  Really all key bindings
> should be controllable with Custom, and I am not sure this method
> generalizes that far.

It already handles all global bindings.  Just type [ins] and add a new

The UI can obviously be enhanced, for example with a button to read a
key binding, and some way to display the doc string for the functions.
New 'key-binding' and 'command' widgets for that purpose would be
nice.  But all that can be done incrementally with full backward
compatibility, it is just fiddling with the :type parameter.  Alex'
suggestion, as is, is already useful.

reply via email to

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