From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: mapping home key to top of buffer Date: Sat, 08 Mar 2003 11:18:08 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1190-Sat08Mar2003111808+0200-eliz@elta.co.il> References: <3E6975A3.1030302@newdream.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047115380 11567 80.91.224.249 (8 Mar 2003 09:23:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 09:23:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 10:22:59 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 18raXj-00030R-00 for ; Sat, 08 Mar 2003 10:22:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18raXj-00051c-03 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2003 04:22:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18raXZ-00051H-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:22:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18raXY-000514-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:22:49 -0500 Original-Received: from aragorn.inter.net.il ([192.114.186.23]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18raXY-00050z-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:22:48 -0500 Original-Received: from zaretsky ([80.230.235.19]) by aragorn.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AIA92185; Sat, 8 Mar 2003 11:22:46 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3E6975A3.1030302@newdream.net> (message from michael on Fri, 07 Mar 2003 20:46:27 -0800) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7419 > Date: Fri, 07 Mar 2003 20:46:27 -0800 > From: michael > > I was helping a friend with his key bindings but am having trouble with > mapping the home key to go to the top of the buffer. > > the enviornment is cygwin. my key bindings show > > kp-home home > > (global-set-key "kp-home" 'home) > > doesn't work obviously, though. anyone know what to put? Try this instead: (define-key function-key-map [kp-home] [home])