[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Go to a Line
From: |
Stefan Monnier |
Subject: |
Re: Go to a Line |
Date: |
27 Mar 2003 11:14:53 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
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
- Re: Go to a Line, (continued)
- Re: Go to a Line, Bijan Soleymani, 2003/03/20
- Re: Go to a Line, Andrew Taylor, 2003/03/20
- Re: Go to a Line, Nick . Godbey, 2003/03/20
- Re: Go to a Line, Bijan Soleymani, 2003/03/20
- Message not available
- Re: Go to a Line, Kirsten Tremaine, 2003/03/20
- Re: Go to a Line, Kai Großjohann, 2003/03/26
- Re: Go to a Line, Stefan Monnier, 2003/03/26
- Re: Go to a Line, Bijan Soleymani, 2003/03/26
- Re: Go to a Line, Stefan Monnier, 2003/03/26
- Re: Go to a Line, Ivan Kanis, 2003/03/27
- Re: Go to a Line,
Stefan Monnier <=
- Re: Go to a Line, Kevin Rodgers, 2003/03/27
- Re: Go to a Line, Stefan Monnier, 2003/03/27
- Re: Go to a Line, Kevin Rodgers, 2003/03/27
Re: Go to a Line, Bijan Soleymani, 2003/03/21