bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Glenn Morris
Subject: bug#13361: 24.2.91; [regression] window point incompatible change
Date: Sat, 05 Jan 2013 03:36:47 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]