* inverse of occur-mode
@ 2003-10-15 14:40 data64
2003-10-15 18:13 ` Barry Margolin
0 siblings, 1 reply; 3+ messages in thread
From: data64 @ 2003-10-15 14:40 UTC (permalink / raw)
Occur lets you view the lines that match a particular string or regexp.
Is there a way to view lines that do NOT match a string or regexp (similar
to -v in grep) ?
thanks,
data64
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inverse of occur-mode
2003-10-15 14:40 inverse of occur-mode data64
@ 2003-10-15 18:13 ` Barry Margolin
2003-10-16 17:16 ` data64
0 siblings, 1 reply; 3+ messages in thread
From: Barry Margolin @ 2003-10-15 18:13 UTC (permalink / raw)
In article <Xns94156C305923AData64Bigfootcom@130.133.1.4>,
data64 <me@privacy.net> wrote:
>Occur lets you view the lines that match a particular string or regexp.
>Is there a way to view lines that do NOT match a string or regexp (similar
>to -v in grep) ?
Copy the buffer to another buffer, then use M-x flush-lines (aka
delete-matching-lines) to remove the lines that match the regexp.
--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inverse of occur-mode
2003-10-15 18:13 ` Barry Margolin
@ 2003-10-16 17:16 ` data64
0 siblings, 0 replies; 3+ messages in thread
From: data64 @ 2003-10-16 17:16 UTC (permalink / raw)
Barry Margolin <barry.margolin@level3.com> wrote in
news:j7gjb.48$lK3.34@news.level3.com:
> Copy the buffer to another buffer, then use M-x flush-lines (aka
> delete-matching-lines) to remove the lines that match the regexp.
>
thanks. that's what I was looking for.
data64
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-16 17:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-15 14:40 inverse of occur-mode data64
2003-10-15 18:13 ` Barry Margolin
2003-10-16 17:16 ` data64
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).