[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16493: 24.3.50; (setq search-invisible t) is useless, let's allow to
bug#16493: 24.3.50; (setq search-invisible t) is useless, let's allow to turn visible-mode temporarily on
Sun, 29 Apr 2018 11:50:58 +0200
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Stefan Monnier <address@hidden> writes:
>>> Removing just the text property seems cleaner.
>> I guess this solution, though nice, is tricky to implement.
> Why do you think so?
I looked at the way isearch does the temporary opening of overlays,
and it looks complex to add another mechanism to temporarily ignore
the 'invisible text property. At least I don't know how to do this.
Also, I tried a preliminary patches (attached) which I find quite
convenient and seems to do what I expected first when setting
(setq search-invisible t): turning on visible-mode.
The patch is not fully tested and incomplete, as query-replace is
not handled, but that's a start.
Let me know what you think.
Description: Text Data