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, 16 Mar 2015 14:57:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> >> what users of those features normally want is to catch movement of
>> >> the cursor
>> > You mean, we should do this in redisplay?
>> Probably in pre-redisplay-hook or in pre/post-command-hook, yes.
> That contradicts the "catch movement of cursor" idea: redisplay could
> well move point from where it is found before redisplay, as you know.

Indeed, that's a bug that we need to fix: after moving point, redisplay should
re-run pre-redisplay-hook; same thing after scrolling.


        Stefan



reply via email to

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