[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: [PATCH] isearch enhancements: symbol mode; syntactic filtering
From: |
Juri Linkov |
Subject: |
Re: RFC: [PATCH] isearch enhancements: symbol mode; syntactic filtering |
Date: |
Sat, 09 Jul 2011 00:50:17 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>> While we are thinking about this: I think sometimes it would be good
>> to search only visible text. (Especially in org-mode.)
>
> I thought Juri already mentioned that as one of the filtering possibilities.
Yes, the default value of `isearch-filter-predicate' is
`isearch-filter-visible'.
But to avoid conflicts with other possible filters, it should support a list
of filters and behave like e.g. `run-hook-with-args-until-success'.
> Anyway, FWIW, in Isearch+, `C-+' toggles searching invisible text. So yes, I
> agree with you. Trivial to do, and useful IMO.
Then `C-+' could just add/remove `isearch-filter-visible' to/from
`isearch-filter-predicate'.
- Re: RFC: [PATCH] isearch enhancements: symbol mode; syntactic filtering, (continued)