[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CVS] f7, f8 bound..
From: |
Alex Schroeder |
Subject: |
Re: [CVS] f7, f8 bound.. |
Date: |
Sat, 31 Aug 2002 13:21:37 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu) |
Miles Bader <address@hidden> writes:
> A _much_ better idea, I think, would be to make it very simple for even
> novice users to easily _bind_ the function keys to their liking; I'm not
> saying it's all that hard now, but I mean, make it really, really, easy.
I really like this! Perhaps the following is good enough?
(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>" ))
"Customization for keys."
:type '(repeat
(cons :tag "Key" (string :tag "Name") function))
:set (lambda (sym val)
(set-default sym val)
(mapc (lambda (bind)
(global-set-key (read-kbd-macro (car bind)) (cdr bind)))
val)))
(customize-option 'key-bindings)
Alex.
- Re: [CVS] f7, f8 bound.., (continued)
- Re: [CVS] f7, f8 bound.., Francesco Potorti`, 2002/08/28
- Re: [CVS] f7, f8 bound.., Kai Großjohann, 2002/08/28
- Re: [CVS] f7, f8 bound.., Francesco Potorti`, 2002/08/28
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/08/28
- Re: [CVS] f7, f8 bound.., Kai Großjohann, 2002/08/29
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/08/30
- Re: [CVS] f7, f8 bound.., Kim F. Storm, 2002/08/30
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/08/30
- Re: [CVS] f7, f8 bound..,
Alex Schroeder <=
- Re: [CVS] f7, f8 bound.., Kim F. Storm, 2002/08/29
- Re: [CVS] f7, f8 bound.., Francesco Potorti`, 2002/08/29
- Re: [CVS] f7, f8 bound.., Edward O'Connor, 2002/08/28
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/08/28
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/08/28
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/08/28
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/08/30
- Re: [CVS] f7, f8 bound.., Stefan Monnier, 2002/08/30
- Re: [CVS] f7, f8 bound.., Richard Stallman, 2002/08/30
- Re: [CVS] f7, f8 bound.., Miles Bader, 2002/08/30