emacs-devel
[Top][All Lists]
Advanced

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

Re: how to control isearch for invisible text


From: Stefan Monnier
Subject: Re: how to control isearch for invisible text
Date: Sun, 13 Aug 2006 20:36:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> I think `occur' always makes things visible because it copies text
>> and overlays are not copied along, so the invisibility gets lost.  I
>> do think query-replace should be improved to open invisible text
>> just like isearch does.

> I agree that query-replace should show invisible text
> when a match occurs inside it.

For reveal-mode, we should just provide a "pre-redisplay-hook" run, as the
name indicates, just before doing redisplay.  That would allow reveal-mode
to do the "show invisible text" even in query-replace and this without even
changing query-replace's code.


        Stefan




reply via email to

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