unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keypad.el wierdness in CVS emacs?
@ 2004-04-28 16:06 Robert Mecklenburg
  2004-04-28 21:18 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Mecklenburg @ 2004-04-28 16:06 UTC (permalink / raw)


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

Shifted keypad 7 (and other keypad keys) yields ascii 7 instead 
of the S-kp-7 I would expect.  I discovered in the NEWS a new package
keypad.el that seems to have some effect on this and reset the
customized variables:

 '(keypad-numlock-shifted-setup (quote none) nil (keypad))
 '(keypad-shifted-setup (quote none) nil (keypad))

But this seems to have no effect.  How can I get my keypad keys back?

Thanks,
Robert

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: keypad.el wierdness in CVS emacs?
  2004-04-28 16:06 keypad.el wierdness in CVS emacs? Robert Mecklenburg
@ 2004-04-28 21:18 ` Kevin Rodgers
  2004-04-30 20:46 ` Stefan Monnier
  2004-05-01  9:44 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-04-28 21:18 UTC (permalink / raw)


Robert Mecklenburg wrote:
 > 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

Good old emacs-21.3 -q --no-site-file (i386-pc-solaris2.7, X toolkit)
displays

	<home> runs the command beginning-of-line

and `C-h l' displays

	C-h c <S-kp-7> <help-echo> C-h l

Perhaps you should report a bug to the appropriate list via
M-x report-emacs-bug.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: keypad.el wierdness in CVS emacs?
  2004-04-28 16:06 keypad.el wierdness in CVS emacs? Robert Mecklenburg
  2004-04-28 21:18 ` Kevin Rodgers
@ 2004-04-30 20:46 ` Stefan Monnier
  2004-05-01  9:44 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2004-04-30 20:46 UTC (permalink / raw)


> I'm running a recent cvs emacs and the keypad keys act strangely when

Can you people send things to the right place as explained in INSTALL.CVS?


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: keypad.el wierdness in CVS emacs?
  2004-04-28 16:06 keypad.el wierdness in CVS emacs? Robert Mecklenburg
  2004-04-28 21:18 ` Kevin Rodgers
  2004-04-30 20:46 ` Stefan Monnier
@ 2004-05-01  9:44 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-05-01  9:44 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-01  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 16:06 keypad.el wierdness in CVS emacs? Robert Mecklenburg
2004-04-28 21:18 ` Kevin Rodgers
2004-04-30 20:46 ` Stefan Monnier
2004-05-01  9:44 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).