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: Mon, 14 Aug 2006 08:14:48 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> 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.

I doubt it's that hard to implement a proper pre-redisplay-hook which can be
set buffer-locally.


        Stefan





reply via email to

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