Subject: Re: bug#4880: point moves in other dired windows

From: Stefan Monnier <[email-masked]>
Date: Sat, 05 Dec 2009 00:00:47 -0500

> !   (list
> !    (mapcar (lambda (buffer)
> ! 	     (cons buffer
> ! 		   (with-current-buffer buffer
> ! 		     (list
> ! 		      (dired-get-filename nil t)
> ! 		      (point)))))
> ! 	   (dired-buffers-for-dir
> ! 	    (if (consp dired-directory) (car dired-directory) dired-directory)))
> !    (mapcar (lambda (w)
> ! 	     (list w
> ! 		   (with-selected-window w
> ! 		     (dired-get-filename nil t))
> ! 		   (window-point w)))
> ! 	   (get-buffer-window-list nil 0 t))))

I do not understand, why we save the point of all
"dired-buffers-for-dir" but only the point of the windows showing the
current buffer.
I'd prefer to resolve this discrepancy by only saving the current
buffer's point (after all, the other buffer's won't be affected by the
revert, right)?

        Stefan