From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: numeric keypad buttons Date: Wed, 30 Jul 2003 15:58:40 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <843cgo86b3.fsf@slowfox.is.informatik.uni-duisburg.de> References: <20030724224909.0f2725e5.tobias_verbeke@skynet.be> <3F21BE5D.5070005@yahoo.com> <20030726225655.611cd33c.tobias_verbeke@skynet.be> <3F255D5D.1090804@yahoo.com> <20030729152734.6a663ec3.tobias_verbeke@skynet.be> <84y8yhxwrn.fsf@slowfox.is.informatik.uni-duisburg.de> <20030729162357.1d127f62.tobias_verbeke@skynet.be> <20030729163940.0231a290.tobias_verbeke@skynet.be> <84brvd9uil.fsf@slowfox.is.informatik.uni-duisburg.de> <20030729190824.2f217b27.tobias_verbeke@skynet.be> <84fzkp8cfi.fsf@slowfox.is.informatik.uni-duisburg.de> <20030729205151.4482d49f.tobias_verbeke@skynet.be> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059573746 32038 80.91.224.249 (30 Jul 2003 14:02:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 14:02:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 16:02:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hrX4-0008KI-00 for ; Wed, 30 Jul 2003 16:02:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hrVQ-0002X2-P3 for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jul 2003 10:00:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!info1.fnal.gov!nntp-server.caltech.edu!hammer.uoregon.edu!news.algonet.se!algonet!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!p508775ae.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: p508775ae.dip.t-dialin.net (80.135.117.174) Original-X-Trace: news.uni-berlin.de 1059573520 23329537 80.135.117.174 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:aVAyelii5i39iIeJ41yhJXhL8/g= Original-Xref: shelby.stanford.edu gnu.emacs.help:115559 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11477 Tobias Verbeke writes: >> Ah. Hm. So, >> >> (define-key function-key-map (kbd "ESC O o") (kbd "")) >> (global-set-key (kbd "") (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