GNU bug report logs - #33532
26.1; set-window-configuration does not restore display start

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Tue, 27 Nov 2018 22:12:02 UTC

Severity: normal

Merged with 33533

Found in version 26.1

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 33532 <at> debbugs.gnu.org, Markus Triska <triska <at> metalevel.at>
Subject: bug#33532: 26.1; set-window-configuration does not restore display start
Date: Tue, 04 Dec 2018 23:47:09 +0200
> 'auto-revert-tail-mode' already has
>
>       (when buffer-file-name
>         (setq eob (eobp))
>         (walk-windows
>          (lambda (window)
>            (and (eq (window-buffer window) buffer)
>                 (= (window-point window) (point-max))
>                 (push window eoblist)))
>          'no-mini t))
>
> plus
>
>       (when buffer-file-name
>         (when eob (goto-char (point-max)))
>         (dolist (window eoblist)
>           (set-window-point window (point-max)))))
>
> without changing the markers' point insertion types.  We can easily
> extend that to handle a window's previous buffers' points.

Again, no support for window configurations and non-writable window
states.  But maybe it's possible to access all buffer's windows,
even windows in window configurations/states, and changes their
window points, including previous buffers' points in window
configurations/states.

BTW, I understand why reverting a dired buffer moves its point-marker to
the beginning of the buffer in the selected window window restored from
a window configuration.  But I don't understand why point-marker is
moved to the end of the dired buffer in non-selected window restored
from a window configuration.




This bug report was last modified 6 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.