>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
>>>> "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.
Stephen> You mean writing the value of buffer's point into "point of selected
Stephen> window of selected frame"?
Stephen> OK, I see what you mean. Where we currently effectively have (this is
Stephen> pseudo-code):
Stephen> (defvar buffer-point-really-changed-hook 'update-window-points)
Stephen> (defun update-window-points (buffer)
Stephen> (loop-over-windows w
Stephen> (when (and (eq (window-buffer w) (buffer))
Stephen> (selected-window-p w))
Stephen> (set-window-point (point buffer)))))
Let me clarify:
(defun update-window-points (buffer)
(loop-over-windows w
(when (eq w (frame-selected-window (window-frame w)))
(set-window-point (point buffer)))))
I'll need to look over the code to see where it's actually happening.
Certainly the window-configuration code (did and) does something like
this.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla