emacs-devel
[Top][All Lists]
Advanced

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

Re: Suggestion: Mapping of M-g should be goto-line


From: David Kastrup
Subject: Re: Suggestion: Mapping of M-g should be goto-line
Date: 25 Mar 2004 19:03:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Joachim Nilsson <address@hidden> writes:

> On 03/25/04 13:27, Jari Aalto+mail.emacs wrote:
> > * 2004-03-25 David Kastrup <dak <AT> gnu.org>

> > | Seconded.  If no other binding can be found, we can override it in
> > | enriched text mode with a local binding, but as a global binding,
> > | goto-line is certainly much more generally useful.
> > If possible, we really want M-g, because of "g", goto. Using any other
> > key would counter what people have been already using. And it should
> > be one key.  If it were two keys, people would never use it. They
> > would map it right back to "M-g".
> 
> I too agree that a keybinding for goto-line is useful.  Like the
> original poster I used M-g as well, but since 21.3 I have a new
> setup where I use M-# instead.  To me that is equally intuitive,
> but clashes with calc-dispatch -- so whatever is decided the risk
> of a key already being bound is always present in Emacs.

Some vague memory made me start up that other editor.  And guess what:

    M-g runs `goto-line'

    `goto-line' is an interactive compiled Lisp function
      -- loaded from "/usr/share/xemacs-21.4.12/lisp/simple.elc"
    (goto-line LINE)

    Documentation:
    Goto line LINE, counting from line 1 at beginning of buffer.

Since there is considerable consensus here that M-g is a reasonable
binding for goto-line, I would like to add that not choosing a
different binding would probably also be appreciated by those that
want or need to cross between Emacs incarnations.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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