GNU bug report logs - #35334
26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current

Previous Next

Package: emacs;

Reported by: Sean McAfee <eefacm <at> gmail.com>

Date: Sat, 20 Apr 2019 04:01:01 UTC

Severity: normal

Found in version 26.2

Fixed in version 26.3

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Sean McAfee <eefacm <at> gmail.com>
Cc: 35334 <at> debbugs.gnu.org
Subject: bug#35334: 26.2; Changes to position of point are undone during with-current-buffer if window is visible but not current
Date: Sat, 20 Apr 2019 00:10:26 -0400
Sean McAfee <eefacm <at> gmail.com> writes:

> I would expect point to move to position 8 in both cases, and I don't
> see anything in the documentation for with-current-buffer or goto-char
> to suggest that it ever wouldn't.

How about in (elisp) Window Point?

   * Selecting a window sets the value of point in its buffer from the
     window's value of point.  Conversely, deselecting a window sets the
     window's value of point from that of the buffer.




This bug report was last modified 6 years and 20 days ago.

Previous Next


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