bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: occur slower than grep by a longshot


From: David Kastrup
Subject: Re: occur slower than grep by a longshot
Date: 26 Nov 2001 20:19:34 +0100

>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> writes:

 >> From: David Kastrup <David.Kastrup@t-online.de>
 >> Newsgroups: gnu.emacs.bug
 >> Date: 26 Nov 2001 18:19:59 +0100
 >> 
 >> >> but that's if the buffer is associated with a file... so one must C-x
 >> >> C-w ... first
 >> 
 Eli> No, you could always use "M-| grep RET".
 >> 
 >> That would be decidedly less useful since then the linkage between
 >> grepped lines and the source text would be absent.

 Eli> What source?  There _is_ no source in this case, remember?

There is no source file, but if there were no source, there would be
little reason to search it.  Using M-x occur, you can middle-click on
the found lines and get transported to, yes, the source, even though
it has not been saved to a file.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]