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

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

bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisib


From: Lennart Borgman
Subject: bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible'
Date: Wed, 18 May 2011 03:15:23 +0200

On Wed, May 18, 2011 at 2:51 AM, Stefan Monnier
<address@hidden> wrote:
>> Question: What is the simplest way, from Lisp, to get the "low-level
>> C" search functions to optionally respect/ignore hidden text?
>
> Something like
>
>  (while (and (re-search-forward blabla)
>              (invisible-p (point)))
>    ...)
>
> The same idea can be used with syntax-ppss to skip over matches that are
> inside comments/strings.

Maybe implement this as minor modes for isearch, occur etc?





reply via email to

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