unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: keypad.el wierdness in CVS emacs?
Date: Sat, 01 May 2004 11:44:57 +0200	[thread overview]
Message-ID: <87ad0sxyzq.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: e5eecdbc.0404280806.4c1f63fe@posting.google.com

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

      parent reply	other threads:[~2004-05-01  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ad0sxyzq.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).