[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to control isearch for invisible text
From: |
David Kastrup |
Subject: |
Re: how to control isearch for invisible text |
Date: |
Mon, 14 Aug 2006 09:12:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> 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.
That is a bit heavy-handed for my taste, at least for this purpose.
Such a hook would have to be global, as redisplay is not a
buffer-centric activity, and thus every function with a possible need
would have to register and unregister there, and check the state
across buffers for every redisplay.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- RE: how to control isearch for invisible text, (continued)
- RE: how to control isearch for invisible text, Drew Adams, 2006/08/12
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/12
- RE: how to control isearch for invisible text, Drew Adams, 2006/08/12
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/12
- RE: how to control isearch for invisible text, Drew Adams, 2006/08/12
- Re: how to control isearch for invisible text, Stefan Monnier, 2006/08/12
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/13
- Re: how to control isearch for invisible text, Richard Stallman, 2006/08/13
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/13
- Re: how to control isearch for invisible text, Stefan Monnier, 2006/08/13
- Re: how to control isearch for invisible text,
David Kastrup <=
- Re: how to control isearch for invisible text, Stefan Monnier, 2006/08/14
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/14
- Re: how to control isearch for invisible text, Stefan Monnier, 2006/08/14
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/14
- Re: how to control isearch for invisible text, Stefan Monnier, 2006/08/14
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/14
- RE: how to control isearch for invisible text, Drew Adams, 2006/08/14
- Re: how to control isearch for invisible text, David Kastrup, 2006/08/14
- Re: how to control isearch for invisible text, Richard Stallman, 2006/08/15
- Re: how to control isearch for invisible text, Richard Stallman, 2006/08/15