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

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

Re: How to find lines not matching a certain pattern - ie grep -v


From: Michael Heerdegen
Subject: Re: How to find lines not matching a certain pattern - ie grep -v
Date: Mon, 23 Feb 2015 05:20:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Barry Margolin <barmar@alum.mit.edu> writes:

> You could copy the buffer to another buffer, then use M-x flush-lines
> to delete the matching lines. What's left are the non-matching lines.

AFAIK "color-moccur" has a key for just that.  It is quite comfortable
and efficient for doing such things when you don't want to rely on any
large package like Icicles.


Michael.




reply via email to

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