From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Juanma Barranquero <jmbarranquero@wke.es>,
Danilo Segan <dsegan@gmx.net>,
emacs-devel@gnu.org
Subject: Re: Suggestion: Mapping of M-g should be goto-line
Date: 25 Mar 2004 11:53:39 -0500 [thread overview]
Message-ID: <m1vfksq366.fsf-monnier+emacs@empanada.local> (raw)
In-Reply-To: <m3n064sye4.fsf@kfs-l.imdomain.dk>
>> 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
next prev parent reply other threads:[~2004-03-25 16:53 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 6:11 Suggestion: Mapping of M-g should be goto-line Jari Aalto+mail.emacs
2004-03-25 7:23 ` Eli Zaretskii
2004-03-25 9:10 ` John Wiegley
2004-03-25 15:06 ` Eric Hanchrow
2004-03-25 16:39 ` ams
2004-03-25 21:54 ` Stefan Monnier
2004-03-25 22:21 ` David Kastrup
2004-03-25 23:27 ` Stefan Monnier
2004-03-25 23:41 ` David Kastrup
2004-03-25 23:53 ` Stefan Monnier
2004-03-26 0:50 ` David Kastrup
2004-03-26 2:27 ` Stefan Monnier
2004-03-26 11:14 ` Kim F. Storm
2004-03-26 10:29 ` Juanma Barranquero
2004-03-26 12:38 ` Kim F. Storm
2004-03-26 13:36 ` Juanma Barranquero
2004-03-26 14:25 ` Stefan Monnier
2004-03-27 0:07 ` Miles Bader
2004-03-27 14:53 ` Juanma Barranquero
2004-04-01 1:53 ` Miles Bader
2004-03-28 1:36 ` Richard Stallman
2004-03-26 15:27 ` Per Abrahamsen
2004-03-26 17:49 ` Alan Mackenzie
2004-03-26 15:19 ` Per Abrahamsen
2004-03-26 16:40 ` David Kastrup
2004-04-01 14:25 ` Per Abrahamsen
2004-04-01 16:15 ` David Kastrup
2004-03-25 16:26 ` Stefan Monnier
2004-03-26 0:19 ` Kim F. Storm
2004-03-26 16:53 ` Alan Mackenzie
2004-03-25 9:46 ` Danilo Segan
2004-03-25 9:54 ` Lucas
2004-03-25 10:21 ` Juanma Barranquero
2004-03-25 10:32 ` Jari Aalto+mail.linux
2004-03-25 11:23 ` Danilo Segan
2004-03-25 11:34 ` Lucas
2004-03-25 14:22 ` Vinicius Jose Latorre
2004-03-25 11:55 ` Juanma Barranquero
2004-03-25 12:30 ` Danilo Segan
2004-03-25 13:43 ` David Kastrup
2004-03-25 14:34 ` Danilo Segan
2004-03-29 20:34 ` Ted Lemon
2004-03-25 13:53 ` Juanma Barranquero
2004-03-25 14:49 ` Danilo Segan
2004-03-25 15:14 ` Juanma Barranquero
2004-03-25 16:08 ` Kim F. Storm
2004-03-25 16:53 ` Stefan Monnier [this message]
2004-03-25 18:56 ` Per Abrahamsen
2004-03-25 19:39 ` David Kastrup
2004-03-25 12:25 ` Jari Aalto+mail.linux
2004-03-25 12:55 ` Danilo Segan
2004-03-25 14:16 ` Jari Aalto
2004-03-25 16:28 ` David Kastrup
2004-03-25 17:28 ` Alan Shutko
2004-03-25 12:27 ` David Kastrup
2004-03-25 13:47 ` Danilo Segan
2004-03-25 15:18 ` David Kastrup
2004-03-25 13:35 ` Kim F. Storm
2004-03-25 13:53 ` Danilo Segan
2004-03-25 21:09 ` Juri Linkov
2004-03-27 5:52 ` Richard Stallman
2004-03-27 16:30 ` Joachim Nilsson
2004-03-26 0:11 ` Jari Aalto+mail.linux
2004-03-26 14:31 ` David Kastrup
2004-03-26 15:13 ` Stefan Monnier
2004-03-26 21:31 ` Jari Aalto
2004-03-26 21:29 ` David Kastrup
2004-03-27 0:16 ` Miles Bader
2004-03-28 17:02 ` Jari Aalto+mail.emacs
2004-03-28 17:37 ` David Kastrup
2004-03-28 21:11 ` Miles Bader
2004-03-28 21:10 ` Miles Bader
2004-03-25 11:42 ` David Kastrup
2004-03-25 12:27 ` Jari Aalto+mail.emacs
2004-03-25 14:56 ` Joachim Nilsson
2004-03-25 18:03 ` David Kastrup
2004-03-25 19:10 ` Per Abrahamsen
2004-03-25 16:47 ` Kim F. Storm
2004-03-25 16:42 ` David Kastrup
2004-03-26 0:13 ` Kim F. Storm
2004-03-27 5:52 ` Richard Stallman
2004-03-27 8:14 ` Jérôme Marant
2004-03-27 11:00 ` David Kastrup
2004-03-27 13:50 ` Jérôme Marant
2004-03-27 10:46 ` David Kastrup
2004-03-28 4:25 ` Richard Stallman
2004-03-28 17:03 ` Kim F. Storm
2004-03-28 21:14 ` Miles Bader
2004-04-01 16:04 ` Per Abrahamsen
2004-04-01 17:35 ` David Kastrup
2004-03-27 16:17 ` Joachim Nilsson
2004-03-28 4:25 ` Richard Stallman
2004-03-28 13:32 ` Joachim Nilsson
2004-03-28 13:50 ` David Kastrup
2004-03-28 17:52 ` Robert J. Chassell
2004-03-28 17:29 ` Stefan Monnier
2004-03-28 21:18 ` Miles Bader
2004-03-29 20:56 ` Richard Stallman
2004-03-31 9:30 ` Kim F. Storm
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1vfksq366.fsf-monnier+emacs@empanada.local \
--to=monnier@iro.umontreal.ca \
--cc=dsegan@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=jmbarranquero@wke.es \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.