all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.