all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: numeric keypad buttons
Date: Wed, 30 Jul 2003 15:58:40 +0200	[thread overview]
Message-ID: <843cgo86b3.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 20030729205151.4482d49f.tobias_verbeke@skynet.be

Tobias Verbeke <tobias_verbeke@skynet.be> writes:

>> Ah.  Hm.  So, 
>> 
>> (define-key function-key-map (kbd "ESC O o") (kbd "<kp-divide>"))
>> (global-set-key (kbd "<kp-divide>") (kbd "/"))
>> 
>> didn't do the trick?  
>
> This works fine.

Good.

>> Hm.  Or this:
>> 
>> (define-key function-key-map (kbd "ESC O o") (kbd "/"))
>
> This works well too.

Good.

> Was my problem a problem ?

I think you were just missing some of the pieces.  For example, in the
first alternative, you need both lines, just one of them won't do.

(kbd "ESC O o") is just another way of writing "\eOo".  I prefer the
kbd syntax because (a) it's easier to read and (b) it corresponds to
what C-h k and C-h l print.

The first two lines in non-kbd syntax:

    (define-key function-key-map "\eOo" [kp-divide])
    (global-set-key [kp-divide] "/")

As you can see, it's a bit difficult to find the right symbols.
-- 
~/.signature

  reply	other threads:[~2003-07-30 13:58 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 [this message]
2003-07-29 16:17             ` Kai Großjohann
2003-07-29 17:40               ` Tobias Verbeke

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=843cgo86b3.fsf@slowfox.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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.