unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: M-g suffixes.  Was: Key binding M-g should really be goto-line
Date: Fri, 18 Mar 2005 13:11:42 +0100	[thread overview]
Message-ID: <x5y8clgnlt.fsf_-_@lola.goethe.zz> (raw)
In-Reply-To: <87hdj9s0yy.fsf@orebokech.com> (Romain Francoise's message of "Fri, 18 Mar 2005 11:27:33 +0100")

Romain Francoise <romain@orebokech.com> writes:

> Juri Linkov <juri@jurta.org> writes:
>
>> I see `goto-line' finally bound to M-g in CVS.  Good news!
>> After such a big change, it is time now for a few improvements.

Of course Juri is being facetious.  The binding of M-g was a small
change as compared to the improvements.  If he'd have come up with
them before, maybe the argument would not have taken so long: the
improvements are what makes this really good.

> Now that Richard has changed M-g to be a prefix key, can we
> implement this plan?
>
> We already have:
>
> M-g M-g   - goto-line
> M-g g     - goto-line
>
> The candidates are:
>
> M-g c     - goto-char

Maybe the binding M-g = would be a better complement to C-x =
(what-cursor-position)?

M-g b      - goto-byte (non-existent yet)

If one application is supposed to make use of error offsets from
external applications, it is quite likely that those will be given in
bytes instead of characters for this kind of granularity.  goto-byte
would need to take a look at buffer-file-coding-system in general, as
it would not do to do the accounting in Emacs-internal units.

> M-g n     - next-error (goto-next-locus)
> M-g M-n   - next-error (goto-next-locus)
> M-g p     - previous-error
> M-g M-p   - previous-error

Most definitely YES!

> Undecided:
>
> M-g f     - dired-goto-file? (doesn't work in non-Dired buffers)
> M-g j     - Kim's find-file-and-line-near-point?

M-g . 

> M-g j     - dired-jump? (or a similar function which prompts for a file
>             name)

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-03-18 12:11 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09  7:05 Key binding M-g should really be goto-line Juri Linkov
2005-03-09  7:53 ` Miles Bader
2005-03-09  8:32 ` Kim F. Storm
2005-03-10  6:28   ` Juri Linkov
2005-03-09  9:58 ` David Kastrup
2005-03-09 10:47   ` Miles Bader
2005-03-09 13:17     ` David Kastrup
2005-03-09 11:27   ` Kim F. Storm
2005-03-10  9:18     ` Piet van Oostrum
2005-03-10 10:16       ` Miles Bader
2005-03-10 10:47       ` Kim F. Storm
2005-03-10 12:21         ` M-g binding in Gnus (was: Key binding M-g should really be goto-line) Reiner Steib
2005-03-10 12:59           ` M-g binding in Gnus Kim F. Storm
2005-03-10 13:34             ` Reiner Steib
2005-03-10 15:18               ` Kim F. Storm
2005-03-10  2:03   ` Key binding M-g should really be goto-line Richard Stallman
2005-03-10  7:28   ` Key binding M-g should really be goto-line (To M-g M-g or not to M-g) Jari Aalto
2005-03-10 10:49     ` David Kastrup
2005-03-11  7:07     ` Jari Aalto
2005-03-09 21:51 ` Key binding M-g should really be goto-line Romain Francoise
2005-03-09 22:34   ` David Kastrup
2005-03-10  0:33     ` Miles Bader
2005-03-10  0:54       ` David Kastrup
2005-03-10  1:28       ` Johan Bockgård
2005-03-10  6:29         ` Juri Linkov
2005-03-10  7:24           ` Romain Francoise
2005-03-10 10:48             ` David Kastrup
2005-03-10 11:41               ` Romain Francoise
2005-03-10 13:23                 ` Andreas Schwab
2005-03-10 15:19                   ` Kim F. Storm
2005-03-18 10:27 ` Romain Francoise
2005-03-18 12:11   ` David Kastrup [this message]
2005-03-18 12:59     ` M-g suffixes. Was: " Romain Francoise
2005-03-18 13:17       ` David Kastrup
2005-03-18 13:58     ` Stefan Monnier
2005-03-18 18:59       ` Gaetan Leurent
2005-03-19  3:09   ` Richard Stallman
2005-03-19  9:20     ` David Kastrup
2005-03-20 14:41     ` Romain Francoise
2005-03-21  1:18       ` Richard Stallman

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=x5y8clgnlt.fsf_-_@lola.goethe.zz \
    --to=dak@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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