[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please explain to me what happens with the point!
From: |
Joost Kremers |
Subject: |
Re: Please explain to me what happens with the point! |
Date: |
Tue, 27 May 2025 18:49:13 +0200 |
User-agent: |
mu4e 1.12.10; emacs 30.1 |
On Tue, May 27 2025, mbork@mbork.pl wrote:
> What is going on here? I studied the manual chapter on "window point",
> but I can't understand why the point in my second example seemingly does
> not move, since the `*test*' buffer is never in the selected window.
IANAEE[1], but the way I understand it is that that's the case because the
window is visible. The manual says that "[...] deselecting a window sets
the window's value of point from that of the buffer." So the window point
of the window displaying `*test*` is set when you do `C-x o`, and (buffer)
point remains where window point is.
In the first part of your test, the `*test*` buffer is not displayed, so
there is no window point, so (buffer) point can move.
Joost
Footnotes:
[1] I Am Not A Emacs Expert.
--
Joost Kremers
Life has its moments