Romain Francoise <[EMAIL PROTECTED]> writes:

> Juri Linkov <[EMAIL PROTECTED]> 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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to