[Top][All Lists]

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

Re: search-invisible and friends

From: Lars Ingebrigtsen
Subject: Re: search-invisible and friends
Date: Thu, 10 Sep 2020 14:38:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> If not, I think it should, and perhaps (or perhaps not?) by
>> piggy-backing on the search-invisible variable.
> 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?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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