[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion: Mapping of M-g should be goto-line
From: |
Stefan Monnier |
Subject: |
Re: Suggestion: Mapping of M-g should be goto-line |
Date: |
25 Mar 2004 11:53:39 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> Or, perhaps, it's just that there are not alternatives for a simple
>> task: going to a line. Not an error line, not a line containing some
>> text, just to the line numbered X.
> M-x 123 RET
> Argh -- that cannot be done in lisp :-(
Of course it can be. M-x right now is written in C, but it's pretty easy
to rewrite it in Lisp (without any changes to the C code).
Along the same lines, I presonally use C-s 123 (which gives me incremental
line number search, not that the incremental nature of it is a feature in
this case, more like a side effect of hooking into isearch).
Obviously I agree that goto-line is a common need since I went to the
trouble of writing my C-s hack to do the equivalent. Before that I had
M-g bound to goto-line but my fingers often instinctively hit C-s when
I was "searching for line number 123", so I figured I should adapt Emacs
to my fingers rather than the other way around.
In my book the default M-g bindings are "never used other than to test
whether they still work". Especially since the `face' part of it (arguably
the main part) simply doesn't work in any buffer that uses font-lock.
Stefan
- Re: Suggestion: Mapping of M-g should be goto-line, (continued)
- Re: Suggestion: Mapping of M-g should be goto-line, Lucas, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Juanma Barranquero, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Jari Aalto+mail.linux, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Danilo Segan, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Juanma Barranquero, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Danilo Segan, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Juanma Barranquero, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Danilo Segan, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Juanma Barranquero, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Kim F. Storm, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line,
Stefan Monnier <=
- Re: Suggestion: Mapping of M-g should be goto-line, Per Abrahamsen, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, David Kastrup, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, David Kastrup, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Danilo Segan, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Ted Lemon, 2004/03/29
- Re: Suggestion: Mapping of M-g should be goto-line, Jari Aalto+mail.linux, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Danilo Segan, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Jari Aalto, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, David Kastrup, 2004/03/25
- Re: Suggestion: Mapping of M-g should be goto-line, Alan Shutko, 2004/03/25