all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Verbeke <tobias_verbeke@skynet.be>
Subject: Re: numeric keypad buttons
Date: Tue, 29 Jul 2003 19:40:53 +0200	[thread overview]
Message-ID: <20030729194053.4292f646.tobias_verbeke@skynet.be> (raw)
In-Reply-To: 84fzkp9ukg.fsf@slowfox.is.informatik.uni-duisburg.de

> ??  Weird.  So, let me repeat slowly to be sure I'm understanding
> what is going on: you put stuff in term-setup-hook, and now C-h c
> tells you that Emacs is seeing the keypad / key as <kp-divide>.  And
> then you (global-set-key (kbd "<kp-divide>") 'forward-char), and
> then, what does Emacs answer with C-h k <kp-divide> and also for
> <kp-divide> C-h l?
> 
> Let me go back to make sure what it is that you were doing...


------------------|-----------------|--------------------------|
If I type this on | C-h l gives the | C-h c gives:             |
the numeric keypad| sequence:       |                          |
------------------|---------------------------------------------
         /        |  ESC O o        |<kp-divide> is undefined  |
         *        |  ESC O j        |<kp-multiply> is undefined|
         -        |  ESC O m        |<kp-add> is undefined     |
         +        |  ESC O k        |<kp-subtract> is undefined|
         Enter    |  ESC O M        |<kp-enter> is undefined   |
__________________|_________________|__________________________|

After having put this:

(add-hook 'term-setup-hook
(lambda()
(global-set-key (kbd "<kp-divide") 'forward-char)))

in .emacs, the following results:

C-h k <kp-divide>      ESC O o is undefined
<kp-divide> C-h l      ESC O o

This is exactly the same when I put
the single line:
(global-set-key (kbd "<kp-divide>") 'forward-char)

in .emacs


Is my answer detailed enough for you
to understand where my problem is (was) ?

Thanks again for your answer,

Tobias

      reply	other threads:[~2003-07-29 17:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030724224909.0f2725e5.tobias_verbeke@skynet.be>
     [not found] ` <3F21BE5D.5070005@yahoo.com>
2003-07-26 20:56   ` numeric keypad buttons Tobias Verbeke
2003-07-28 17:29     ` Kevin Rodgers
2003-07-29 13:27       ` Tobias Verbeke
2003-07-29 13:55         ` Kai Großjohann
2003-07-29 14:23           ` Tobias Verbeke
2003-07-29 14:39             ` Tobias Verbeke
2003-07-29 16:18               ` Kai Großjohann
2003-07-29 17:08                 ` Tobias Verbeke
2003-07-29 17:34                   ` Kai Großjohann
2003-07-29 18:51                     ` Tobias Verbeke
2003-07-30 13:58                       ` Kai Großjohann
2003-07-29 16:17             ` Kai Großjohann
2003-07-29 17:40               ` Tobias Verbeke [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

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

  git send-email \
    --in-reply-to=20030729194053.4292f646.tobias_verbeke@skynet.be \
    --to=tobias_verbeke@skynet.be \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.