help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Interactive goto-line ?!


From: Floyd Davidson
Subject: Re: Newbie: Interactive goto-line ?!
Date: Tue, 24 Feb 2004 14:38:51 -0900
User-agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.0

Kevin Rodgers <address@hidden> wrote:
>Floyd Davidson wrote:
>
>> I'm not sure what the default bindings are, but I've always used
>> any emacs with M-g bound to the goto-line function.  That means
>> going to line 214 is as easy as the key sequence 'ESC 214 ESG g'
>> This is what is in my .emacs file:
>>  (define-key esc-map  "g" 'goto-line)
>
>By default M-g is a prefix key, bound to facemenu-keymap.  I prefer:
>
>(global-set-key "\C-cg" 'goto-line)
>(global-set-key "\C-cG" 'goto-char)

Wellll...  that is an abomination that shouldn't be allowed
to survive!  (Okay, the fact that I've been using M-g bound
to goto-line for 20 years has something to do with my opinion,
but...)

How often do you ever use the facemenu-keymap command, compared
to the goto-line command?  In my case, I regularly use
goto-line, and simply *never* use the facemenu-keymap command.
(I don't use that functionality at all, even by menu or
otherwise, as I basically never change any of the faces on the
fly.)

Hence a nice short key sequence like M-g should be assigned to
a commonly used command, and an often used command like goto-line
is a good example (which I can't imagine binding to a three key
sequence).

--
Floyd L. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]