unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Home and End
@ 2003-04-22 22:24 Bruce Park
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Park @ 2003-04-22 22:24 UTC (permalink / raw)


In emacs21, are the keybindings for Home and End different? Does anyone know 
how to change the keybindings back to Esc-> and Esc-< respectively?




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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

* Re: Home and End
       [not found] <mailman.5098.1051050268.21513.help-gnu-emacs@gnu.org>
@ 2003-04-23  7:30 ` Stein A. Stromme
  2003-04-23  8:09 ` Alan Mackenzie
  2003-04-23 13:31 ` Hugh Lawson
  2 siblings, 0 replies; 4+ messages in thread
From: Stein A. Stromme @ 2003-04-23  7:30 UTC (permalink / raw)


[Bruce Park]

| In emacs21, are the keybindings for Home and End different? Does
| anyone know how to change the keybindings back to Esc-> and Esc-<
| respectively?

I think you want this (I know I do):

(global-set-key [home] 'beginning-of-buffer)
(global-set-key [end] 'end-of-buffer)

-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt                www.mi.uib.no/stromme         
Johs Brunsg 12, N-5008 BERGEN           stromme@mi.uib.no

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

* Re: Home and End
       [not found] <mailman.5098.1051050268.21513.help-gnu-emacs@gnu.org>
  2003-04-23  7:30 ` Home and End Stein A. Stromme
@ 2003-04-23  8:09 ` Alan Mackenzie
  2003-04-23 13:31 ` Hugh Lawson
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2003-04-23  8:09 UTC (permalink / raw)


Bruce Park <bpark79@hotmail.com> wrote on Tue, 22 Apr 2003 18:24:21
-0400:
> In emacs21, are the keybindings for Home and End different? Does anyone
> know how to change the keybindings back to Esc-> and Esc-<
> respectively?

Yes, and yes.  Put the following two lines in your .emacs:

(global-set-key [end] 'end-of-buffer)
(global-set-key [home] 'beginning-of-buffer)

There is a section in the Emacs FAQ about key binding.  To get there,
type

C-h i
m Emacs FAQ

then select the menu item "Key bindings" from near the bottom of the menu
list.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

* Re: Home and End
       [not found] <mailman.5098.1051050268.21513.help-gnu-emacs@gnu.org>
  2003-04-23  7:30 ` Home and End Stein A. Stromme
  2003-04-23  8:09 ` Alan Mackenzie
@ 2003-04-23 13:31 ` Hugh Lawson
  2 siblings, 0 replies; 4+ messages in thread
From: Hugh Lawson @ 2003-04-23 13:31 UTC (permalink / raw)


"Bruce Park" <bpark79@hotmail.com> writes:

> In emacs21, are the keybindings for Home and End different? Does
> anyone know how to change the keybindings back to Esc-> and Esc-<
> respectively?

FWIW on my setup C-Home and C-End go to the beginning and end
of the buffer respectively.  Looking through my .emacs, I see that
I've revised nothing about [home] and [end].

But I like the suggestions given by others just to make plain [home]
and [end] do this.

-- 
Hugh Lawson
hlawson@triad.rr.com

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

end of thread, other threads:[~2003-04-23 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5098.1051050268.21513.help-gnu-emacs@gnu.org>
2003-04-23  7:30 ` Home and End Stein A. Stromme
2003-04-23  8:09 ` Alan Mackenzie
2003-04-23 13:31 ` Hugh Lawson
2003-04-22 22:24 Bruce Park

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