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: Fri, 20 Mar 2015 13:59:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I suppose we agree that when the entire window text is intangible, no
> "classic" solution to this problem exists.

Indeed.

> Then the second incarnation of p-r-f will have to move the window's
> point to the start or end of the intangible area, whichever is nearer
> to the window point established by redisplay.  Or do I miss something?

More important than "nearer" would be "after window-start and before
window-end" to avoid inf-looping.

>> Implement a new `cursor-intangible' property, by having p-r-f move point
>> away from text with that property.
> Strictly spoken I see no reason why the display engine should not handle
> that property by itself.

It's complicated enough as it is.


        Stefan



reply via email to

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