all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: Ted Zlatanov <tzz@lifelogs.com>, emacs-devel@gnu.org
Subject: Re: add INVERT to re-search-{forward,	backward}
Date: Mon, 25 Aug 2008 17:57:45 +0200	[thread overview]
Message-ID: <48B2D679.9050206@gmail.com> (raw)
In-Reply-To: <878wumj8zx.fsf@jurta.org>

Juri Linkov wrote:
> Instead of this, I think the change should be done at the occur level,
> since occur's algorithm is line-based and can skip lines that contain
> a given regexp.  This could be similar to the algorithm used by the
> command `flush-lines' in the same file.  `occur' currently works like the
> command `keep-lines' that keeps lines containing the specified regexp.
> But with a new INVERT argument, `occur' could work like `flush-lines' that
> keep everything except lines containing the specified regexp.

This is also similar to grep etc.




  reply	other threads:[~2008-08-25 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 16:02 occur API change proposal Ted Zlatanov
2007-12-01  0:34 ` Juri Linkov
2008-08-05 18:49   ` add INVERT to re-search-{forward, backward} (was: occur API change proposal) Ted Zlatanov
2008-08-25 15:45     ` Juri Linkov
2008-08-25 15:57       ` Lennart Borgman (gmail) [this message]
2008-08-25 19:45         ` add INVERT to re-search-{forward, backward} Juri Linkov
2008-08-25 20:07           ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B2D679.9050206@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.