Subject: bug#33532: 26.1; set-window-configuration does not restore display start

From: Juri Linkov <[email-masked]>
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.