vile
[Top][All Lists]
Advanced

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

Re: [vile] longstanding fence buglet


From: Thomas Dickey
Subject: Re: [vile] longstanding fence buglet
Date: Wed, 19 Aug 2009 19:14:05 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Aug 11, 2009 at 10:02:22AM -0400, Paul Fox wrote:
> i'm going to let tom decide how he wants to fix this -- either
> the autocolor hook should be kept from running during an
> operator, or it should save/restore the doingopcmd flag.  the
> latter is preferable, i think, but there's probably some other
> stuff (pre_op_dot, post_op_dot) that needs saving/restoring as
> well -- perhaps they should be bundled into an "operator_state"
> structure of some sort.

The latter is preferable - but making it work properly doesn't seem doable.
The problem that I see is that a hook could modify the buffer, and restoring
marks onto that modified buffer would either be a big performance hit,
or rely on assumptions.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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