[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4880: point moves in other dired windows
From: |
Stefan Monnier |
Subject: |
bug#4880: point moves in other dired windows |
Date: |
Sat, 05 Dec 2009 00:00:47 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> ! (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