[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10024: 24.0.91; save-restriction fails to restore the screen
From: |
Johan Bockgård |
Subject: |
bug#10024: 24.0.91; save-restriction fails to restore the screen |
Date: |
Sun, 13 Nov 2011 13:11:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Uday S Reddy <u.s.reddy@cs.bham.ac.uk> writes:
> Yes, you guys are of course right that save-restriction shouldn't have to
> restore the screen. However, there is an outer save-excursion in the VM
> code, which is not doing the job some of the time. I am still trying to
> track it down so that I can construct a simple example. (The debugger
> change is probably making it harder for me to track it down.) Stay tuned...
But save-excursion also does not restore the window. It restores point
(etc.). If a redisplay happens inside save-excursion, the window can
scroll.