unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Newbie: Interactive goto-line ?!
Date: Wed, 25 Feb 2004 09:47:42 -0700	[thread overview]
Message-ID: <403CD1AE.3070403@yahoo.com> (raw)
In-Reply-To: 877jycoxo4.fld@barrow.com

Floyd Davidson wrote:
 > Kevin Rodgers <ihs_4664@yahoo.com> 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...)

M-g is reserved for Emacs to bind.  The `C-c LETTER' keys are reserved
for the user to bind.

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

I seldom use goto-line, and never use the facemenu-* commands.

 > 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

Whether goto-line is often used, whether it should be often used, and
whether M-g is a good binding for it are all arguable points.

 > (which I can't imagine binding to a three key
 > sequence).

`C-c g' is a 2-character key sequence.

-- 
Kevin Rodgers

  parent reply	other threads:[~2004-02-25 16:47 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 10:55 Newbie: Interactive goto-line ?! Karel Kubat
2004-02-24 10:58 ` Maurizio Loreti
2004-02-24 11:42   ` Gian Uberto Lauri
2004-02-24 16:08     ` Brad Collins
2004-02-24 11:00 ` Karel Kubat
2004-02-24 11:34 ` Jiri Pejchal
2004-02-24 22:21   ` Johan Bockgård
2004-02-24 18:35 ` Floyd Davidson
2004-02-24 21:01   ` Kevin Rodgers
2004-02-24 23:38     ` Floyd Davidson
2004-02-25  5:33       ` Eli Zaretskii
2004-02-25 16:47       ` Kevin Rodgers [this message]
2004-02-25 17:35         ` Floyd Davidson
     [not found]       ` <mailman.436.1077687252.340.help-gnu-emacs@gnu.org>
2004-02-25  6:31         ` Floyd Davidson
2004-02-25  8:56           ` Kai Grossjohann
2004-02-25 10:05           ` Eli Zaretskii
     [not found]           ` <mailman.452.1077703465.340.help-gnu-emacs@gnu.org>
2004-02-25 16:29             ` Floyd Davidson
2004-02-26 17:32               ` Eli Zaretskii
     [not found]               ` <mailman.580.1077816762.340.help-gnu-emacs@gnu.org>
2004-02-26 17:50                 ` Jesper Harder
2004-02-26 18:22                   ` David Kastrup
2004-02-26 20:47                     ` Floyd L. Davidson
2004-02-27  9:17                       ` Alan Mackenzie
2004-02-27 12:56                         ` Eli Zaretskii
2004-02-27 15:17                         ` Johan Bockgård
2004-02-27 15:29                           ` David Kastrup
2004-02-27 16:04                             ` Johan Bockgård
2004-02-29 15:29                       ` Kai Grossjohann
2004-03-01  4:07                         ` Floyd L. Davidson
2004-03-01  4:47                           ` Johan Bockgård
2004-03-01  6:12                             ` Floyd L. Davidson
2004-02-27 16:42                     ` Stefan Monnier
2004-02-27 16:58                       ` David Kastrup
2004-02-27 18:07                         ` Stefan Monnier
2004-02-27 18:22                           ` David Kastrup
2004-02-27 20:46                             ` Stefan Monnier
2004-02-26 19:03                   ` Eli Zaretskii
     [not found]                   ` <mailman.586.1077822322.340.help-gnu-emacs@gnu.org>
2004-02-26 19:28                     ` David Kastrup
2004-02-26 21:25                       ` Kevin Rodgers
2004-02-27 12:59                       ` Eli Zaretskii
     [not found]                       ` <mailman.648.1077887747.340.help-gnu-emacs@gnu.org>
2004-02-27 16:47                         ` Stefan Monnier
2004-02-27 17:56                           ` Eli Zaretskii
2004-02-26 17:36             ` Dan Katz
2004-02-25 17:58         ` Stefan Monnier
2004-02-26  6:04           ` Eli Zaretskii
     [not found]           ` <mailman.541.1077775437.340.help-gnu-emacs@gnu.org>
2004-02-27 16:31             ` Stefan Monnier
2004-02-27 17:59               ` Eli Zaretskii
2004-02-25 18:01       ` Stefan Monnier
2004-02-26  7:08         ` Kai Grossjohann
2004-02-26 19:38           ` Alan Mackenzie

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=403CD1AE.3070403@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /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).