GNU bug report logs - #13361
24.2.91; [regression] window point incompatible change

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 5 Jan 2013 06:15:02 UTC

Severity: normal

Tags: notabug

Found in version 24.2.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 13361 <at> debbugs.gnu.org
Subject: bug#13361: 24.2.91; [regression] window point incompatible change
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)))




This bug report was last modified 12 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.