[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 15:12:04 +0200 |
On Wed, May 18, 2011 at 2:13 PM, Stefan Monnier
<monnier@iro.umontreal.ca> 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.
>
>> Yes, but why not have this built into the search functions themselves,
>> just as is done for isearch?
>
> Because I'd rather that the low-level functions do one thing and one
> thing well.
(Of course my suggestion with minor modes was not for the low level functions.)
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Drew Adams, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Stefan Monnier, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Drew Adams, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Stefan Monnier, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Lennart Borgman, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Drew Adams, 2011/05/17
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Lennart Borgman, 2011/05/18
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Stefan Monnier, 2011/05/18
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible',
Lennart Borgman <=
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible', Drew Adams, 2011/05/18