[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
bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible'
Thu, 28 Apr 2016 12:48:05 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
"Drew Adams" <address@hidden> writes:
> My impression is that `re-search-backward' and `*-forward' do not
> respect `search-invisible'. This makes it difficult if not impossible
> to use them in code to not find matches in hidden text. Why would this
> variable be respected only in the Isearch Lisp code? What am I missing?
Well, `search-invisible' is documented as only applying to interactive
search-invisible is a variable defined in ‘isearch.el’.
Its value is ‘open’
If t incremental search/query-replace can match hidden text.
A nil value means don’t match invisible text.
If you want code not to match invisible text, you have to make your code
check for the visibility. Closing.
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible',
Lars Ingebrigtsen <=