[Top][All Lists]

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

Re: search-invisible and friends

From: Eli Zaretskii
Subject: Re: search-invisible and friends
Date: Thu, 10 Sep 2020 17:29:04 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 10 Sep 2020 14:38:40 +0200
> Cc: emacs-devel@gnu.org
> > How about extending search-invisible to support additional properties,
> > by providing some variable that would hold the list of such
> > properties?  Then we could also avoid searching in text that is
> > visible, if some Lisp needs that (for example, you could have a form
> > where you'd like to search only the writable fields).
> Ah, yeah, that sounds quite useful and natural.  We could even have a
> standard property like `no-search' that could be part of the default
> `search-invisible' value, so that modes can easily mark out regions that
> shouldn't be searched for.  In which case, the whole `display' thing
> becomes moot -- in my mode, I could just slap the `no-search' property
> on all the image display bits that I want isearch to avoid?

Yes, those were my thoughts.

reply via email to

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