unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
Subject: Re: mapping home key to top of buffer
Date: Sat, 08 Mar 2003 11:18:08 +0200	[thread overview]
Message-ID: <1190-Sat08Mar2003111808+0200-eliz@elta.co.il> (raw)
In-Reply-To: <3E6975A3.1030302@newdream.net> (message from michael on Fri, 07 Mar 2003 20:46:27 -0800)

> Date: Fri, 07 Mar 2003 20:46:27 -0800
> From: michael <michael@newdream.net>
> 
> 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])

      reply	other threads:[~2003-03-08  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-08  4:46 mapping home key to top of buffer michael
2003-03-08  9:18 ` Eli Zaretskii [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=1190-Sat08Mar2003111808+0200-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    /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).