[Top][All Lists]
[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: |
Drew Adams |
Subject: |
RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2 |
Date: |
Wed, 2 Mar 2005 11:03:05 -0800 |
Example: How would students/designers use Emacs for PHP coding,
where the remote site displays error messages and line numbers
in a web page?
Not to distract you all from the burning issue of `M-g', but how about a
poor-man's compile buffer? If the target line number is already displayed in
Emacs somewhere, why bother to type it in to `goto-line'?
It wouldn't help with a Web page display, of course (unless the page were
viewed in Emacs), but it sounds from your use case as if 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)'.
And it might be useful to have an equivalent mouse command: click a
displayed numeral to go to that line in the other buffer.
To be able to specify a different target buffer, you could use a prefix arg,
but you should not have to type anything (even RET) for must uses of the
command - the default target buffer should be what you want. IOW, no default
buffer-name with a prompt; just go to other-buffer.
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2, (continued)
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2, Andreas Schwab, 2005/03/02
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2, Stefan Monnier, 2005/03/02
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2, Alfred M. Szmidt, 2005/03/02
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2, Jari Aalto+mail.linux, 2005/03/02
- Re: Key binding M-g should really be goto-line, Kim F. Storm, 2005/03/02
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2, Alfred M. Szmidt, 2005/03/02
- Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2 autolearn=no version=3.0.2, Jari Aalto, 2005/03/02
- RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2,
Drew Adams <=
- Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Andreas Schwab, 2005/03/03
- RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Drew Adams, 2005/03/03
- Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Kevin Rodgers, 2005/03/03
- RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Drew Adams, 2005/03/03
- Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Richard Stallman, 2005/03/04
- Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2, Miles Bader, 2005/03/04
- RE: Key binding M-g should really be goto-lineautolearn=noversion=3.0.2 autolearn=no version=3.0.2, Drew Adams, 2005/03/04
- Re: Key binding M-g should really be goto-lineautolearn=noversion=3.0.2 autolearn=no version=3.0.2, Miles Bader, 2005/03/04
- RE: Key binding M-g should really be goto-lineautolearn=noversion=3.0.2 autolearn=no version=3.0.2, Drew Adams, 2005/03/04
- Re: Key binding M-g should really be goto-lineautolearn=noversion=3.0.2 autolearn=no version=3.0.2, Miles Bader, 2005/03/04