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

[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 02:55:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Uday S Reddy <address@hidden> writes:

> I haven't found a way to reproduce the problem without the debugger, but it
> happens inside VM even when no debugger is used.  So, some event is
> destroying the window positioning.

    (defun test-restriction ()
      (interactive)
      (save-restriction
        (goto-line 5)
        (narrow-to-region (point) (point-max))
        (redisplay)))

But save-restriction is not meant to "restore the screen", so I don't
really see that there's a bug here.





reply via email to

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