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

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

Re: inverse of occur-mode


From: Barry Margolin
Subject: Re: inverse of occur-mode
Date: Wed, 15 Oct 2003 18:13:35 GMT

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.


reply via email to

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