emacs-devel
[Top][All Lists]
Advanced

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

Re: Can we make set_point_both less expensive?


From: Stefan Monnier
Subject: Re: Can we make set_point_both less expensive?
Date: Mon, 23 Mar 2015 15:27:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> it happens at the end of a command.  But always it happens right
>> before a redisplay.
> I don't understand what you are trying to say.  Every single moment in
> Emacs is before _some_ redisplay, that's true, but I don't believe you
> meant that.

There's "before" and then there's "right before".

>> In which case you risk inf-looping (and hence need to detect/prevent
>> it), same as with pre-redisplay-function.
> No, because the code to abort redisplay was written long ago and is
> well tested, by time if nothing else.

Then, maybe this redisplay-abort thingy already works for
pre-redisplay-function as well.


        Stefan



reply via email to

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