[Top][All Lists]

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

Re: Can we make set_point_both less expensive?

From: Eli Zaretskii
Subject: Re: Can we make set_point_both less expensive?
Date: Sat, 21 Mar 2015 16:44:37 +0200

> From: Stefan Monnier <address@hidden>
> Cc: martin rudalics <address@hidden>, address@hidden, address@hidden
> Date: Sat, 21 Mar 2015 10:03:53 -0400
> >> > Another, related, requirement is that we never call
> >> > pre-redisplay-function when point is in a position that is not
> >> > supposed to be visible by the user.
> >> Do you mean invisible text here?
> > No, I mean positions traversed while "this command" is executed.  The
> > position shown to the user is the last one of those, but how do we
> > ensure that pre-redisplay-function is never run for those?
> Ah, I see what you mean now: the command ensures this by not causing
> redisplay during its execution.

Commands don't have full enough control to ensure that, I think.
Various features and customizations could trigger redisplay behind
their back.

reply via email to

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