emacs-devel
[Top][All Lists]
Advanced

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

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2


From: Andreas Schwab
Subject: Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2
Date: Thu, 03 Mar 2005 22:58:17 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>     > it might be generally useful to have a command that picks up the
>     > line-number from the text at point (whenever that text can be
>     > parsed as a numeral) and does `goto-line' in buffer
>     > `(other-buffer (current-buffer) t)'.
>
>     We already have that, it's compilation-minor-mode.
>
> Looking at the code for compilation-minor-mode (as I'm inexperienced with
> it), I see no connection with what I suggested. That mode appears to work
> only in buffers that can be parsed to work with next-error etc.

Sorry, I misunderstood your suggestion.

> What I suggested was a simple command to pick up a numeral from any buffer,
> regardless of what the numeral might mean in that buffer. It would be
> rudimentary, but would do at least what people are doing with `goto-line',
> without requiring them to key in the line number. A minor suggestion -
> that's all.

You already don't have to type the number, just mark, copy and paste it.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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