all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Go to a Line
Date: 27 Mar 2003 11:14:53 -0500	[thread overview]
Message-ID: <5lvfy49476.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 87u1dp1j2c.fsf@juliva.com

Stefan> Nah: I hacked isearch to do the goto-line thingy instead
> That is _really_ interesting. Does it scroll incrementally to the line
> as you type the number?

Of course ;-)

> How do you search for numbers in a file?

The usual way: `123' matches both the string `123' and the line 123.
The only time when it's inconvenient is when you're looking for line 123 and
the buffer contains heaps of matches for the string `123'.

Also, there's the problem that you might need to hit C-s one extra
time to force isearch to wrap around (or you could have used C-r instead,
but the point is that the relative position of the starting point and the
destination line is relevant).

> Do you mind showing us the function you are using :)

It's a bunch of patches to isearch.el.  I'll see if I can extract the
relevant portions.


        Stefan

  reply	other threads:[~2003-03-27 16:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 19:12 Go to a Line Nick.Godbey
2003-03-20 19:31 ` Bijan Soleymani
     [not found] ` <mailman.3434.1048188151.21513.help-gnu-emacs@gnu.org>
2003-03-20 19:37   ` Kirsten Tremaine
2003-03-26 13:23     ` Kai Großjohann
2003-03-26 16:04       ` Stefan Monnier
2003-03-26 18:51         ` Bijan Soleymani
2003-03-26 19:10           ` Stefan Monnier
2003-03-27  5:20             ` Ivan Kanis
2003-03-27 16:14               ` Stefan Monnier [this message]
2003-03-27 20:38                 ` Kevin Rodgers
2003-03-27 21:05                   ` Stefan Monnier
2003-03-27 22:26                     ` Kevin Rodgers
     [not found] <mailman.3438.1048191376.21513.help-gnu-emacs@gnu.org>
2003-03-21 13:29 ` Bijan Soleymani
  -- strict thread matches above, loose matches on Subject: below --
2003-03-20 16:32 nowar
2003-03-20 16:36 ` Phillip Lord
2003-03-20 19:04 ` Bijan Soleymani
2003-03-20 19:04 ` Andrew Taylor

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=5lvfy49476.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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.