From: Glenn Morris <rgm@gnu.org>
To: Leo Liu <sdl.web@gmail.com>
Cc: 13361@debbugs.gnu.org
Subject: bug#13361: 24.2.91; [regression] window point incompatible change
Date: Sat, 05 Jan 2013 03:36:47 -0500 [thread overview]
Message-ID: <bazk0o58m8.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m2k3rs3zst.fsf@gmail.com> (Leo Liu's message of "Sat, 05 Jan 2013 14:32:34 +0800")
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)))
next prev parent reply other threads:[~2013-01-05 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-05 6:13 bug#13361: 24.2.91; [regression] window point incompatible change Leo Liu
2013-01-05 6:32 ` Leo Liu
2013-01-05 8:36 ` Glenn Morris [this message]
2013-01-05 9:41 ` Leo Liu
2013-01-05 11:27 ` martin rudalics
2013-01-05 19:13 ` Glenn Morris
2013-01-07 2:31 ` Leo Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bazk0o58m8.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=13361@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).