[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
binding.
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.
- Re: [CVS] f7, f8 bound.., Damien Elmes, 2002/09/01
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/09/01
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/09/01
- Re: [CVS] f7, f8 bound.., Eli Zaretskii, 2002/09/01
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/09/01
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/09/01
- Re: [CVS] f7, f8 bound..,
Per Abrahamsen <=
- Re: [CVS] f7, f8 bound.., Per Abrahamsen, 2002/09/01
- Re: [CVS] f7, f8 bound.., Stefan Monnier, 2002/09/02
- Re: [CVS] f7, f8 bound.., Kai Großjohann, 2002/09/02
- Re: [CVS] f7, f8 bound.., Stefan Monnier, 2002/09/02
- Re: [CVS] f7, f8 bound.., Per Abrahamsen, 2002/09/03
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/09/03
- Re: [CVS] f7, f8 bound.., Per Abrahamsen, 2002/09/03
- Re: [CVS] f7, f8 bound.., Stefan Monnier, 2002/09/03
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/09/03
- Re: [CVS] f7, f8 bound.., Andreas Schwab, 2002/09/03