>>>> "ms" == Michael Sperber
<sperber(a)informatik.uni-tuebingen.de> writes:
ms> Good. However, some places in the code I've stumbled upon
ms> during the window-configuration rewrite perform exactly this
ms> kind of synchronization.
You mean writing the value of buffer's point into "point of selected
window of selected frame"?
OK, I see what you mean. Where we currently effectively have (this is
pseudo-code):
(defvar buffer-point-really-changed-hook 'update-window-points)
(defun update-window-points (buffer)
(loop-over-windows w
(when (and (eq (window-buffer w) (buffer))
(selected-window-p w))
(set-window-point (point buffer)))))
You want
(defun update-window-points (buffer)
(loop-over-windows w
(when (and (eq (window-buffer w) (buffer))
(selected-window-p w)
(selected-frame-p (window-frame w)))
(set-window-point (point buffer)))))
Except that somehow we don't actually do the first implementation? Weird.
Weird enough to need fixing ;-)
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.