[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keypad.el wierdness in CVS emacs?
From: |
Kai Grossjohann |
Subject: |
Re: keypad.el wierdness in CVS emacs? |
Date: |
Sat, 01 May 2004 11:44:57 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) |
mecklen@realmsys.com (Robert Mecklenburg) writes:
> I'm running a recent cvs emacs and the keypad keys act strangely when
> shifted:
>
> C-h c ;; describe key
> <S-kp-7> ;; shifted kp-7
> 7 (translated from <S-kp-7>) runs the command self-insert-command
If there is no binding for S-<foo> where <foo> is a function key, then
Emacs will use the binding for <foo> instead.
This means that just doing
(global-set-key (kbd "S-<kp-7>") 'forward-char)
will change what C-h c S-<kp-7> will do!
Why does Emacs do such strange things? So that people can hit C-f
even if CapsLock is on.
Kai
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: keypad.el wierdness in CVS emacs?,
Kai Grossjohann <=