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

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

Re: Negative occur


From: address@hidden
Subject: Re: Negative occur
Date: Wed, 28 Nov 2007 02:53:40 -0800 (PST)
User-agent: G2/1.0

On Nov 28, 11:21 am, David Kastrup <d...@gnu.org> wrote:
> "spamfilteracco...@gmail.com" <spamfilteracco...@gmail.com> writes:
> > Is there a command like occur which shows non-matching lines? It would
> > come in handy for me for the work I'm doing.
>
> > It's a useful a feature and not hard to implement, so I'm sure it's
> > already in Emacs in some form only I'm overlooking it.
>
> You could try running "occur" with the pattern "^" (which matches
> every line), then prune the results with M-x delete-matching-lines RET
>

Yep, there are workarounds. :)

But it seems a very basic feature, so I'd be surprised if Emacs didn't
have it.

We have keep-lines and flush-lines after all, so it would be logical
to have the same for occur.


reply via email to

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