unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* mapping home key to top of buffer
@ 2003-03-08  4:46 michael
  2003-03-08  9:18 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: michael @ 2003-03-08  4:46 UTC (permalink / raw)


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?

thanks!
michael

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mapping home key to top of buffer
  2003-03-08  4:46 mapping home key to top of buffer michael
@ 2003-03-08  9:18 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2003-03-08  9:18 UTC (permalink / raw)


> 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])

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-08  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-08  4:46 mapping home key to top of buffer michael
2003-03-08  9:18 ` Eli Zaretskii

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).