emacs-devel
[Top][All Lists]
Advanced

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

Re: window.el modify current emacs23 behavior of anything.


From: martin rudalics
Subject: Re: window.el modify current emacs23 behavior of anything.
Date: Wed, 21 Sep 2011 10:34:58 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> Try M-: (progn (set-window-start (selected-window) (point)) (goto-char 
(point-min)))
>
> and you'll see the that set-window-point

... you mean `set-window-start' here I suppose ...

> wins even though it's run
> before the goto-char.
>
> That's why a sit-for works around the problem: it causes the
> set-window-start to be "executed", letting the subsequent goto-char do
> its job.

Indeed.  Thanks for the explanation :-)

> So maybe the right fix is to remove the call to set-window-start.

I did as Thierry suggested: Call `set-window-start' with NOFORCE
non-nil.

martin



reply via email to

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