bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34038: 26.1; set-window-start sometimes fails to set window start


From: Markus Triska
Subject: bug#34038: 26.1; set-window-start sometimes fails to set window start
Date: Fri, 11 Jan 2019 18:45:53 +0100
User-agent: Emacs/24.5

martin rudalics <rudalics@gmx.at> writes:

> The crucial idiom is provided by the last two forms.  Restore window's
> point first and then its start position (although any order should do
> in your case).

This indeed works for the particular snippet I posted. However, I have a
more complex application where I am already using set-window-point, and
this does not fix the issue.

However, in the application for which I need this functionality, it
works completely as intended if I add (redisplay) between the calls of
set-window-point and set-window-start.

>From this, I get the impression that a pending redisplay may interfere
with reliably setting the window-start even if window-point is set!

All the best,
Markus





reply via email to

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