Subject: bug#13361: 24.2.91; [regression] window point incompatible change

From: Glenn Morris <[email-masked]>
Date: Sat, 05 Jan 2013 03:36:47 -0500

Leo Liu wrote:

> It is the same (albeit odd) behaviour in 24.2 too. Any idea why it
> behaves so subtly like this?

Are you asking why window-point exists and is not always equal to point?

(with-current-buffer "A"
  (message "%s:%s:%s:%s"
           (point)
           (window-point (get-buffer-window "A"))
           (progn
             (goto-char (point-min))
             (point))
           (window-point (get-buffer-window "A")))
  (sit-for 1)
  (set-window-point (get-buffer-window "A") (point-min)))