[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please explain to me what happens with the point!
From: |
mbork |
Subject: |
Re: Please explain to me what happens with the point! |
Date: |
Fri, 30 May 2025 08:37:38 +0200 |
On 2025-05-29, at 10:05, Stefan Monnier via Users list for the GNU Emacs text
editor <help-gnu-emacs@gnu.org> wrote:
>> Yes, I've read that too. But it never says anything about visibility,
>> it only says about what happens when the window is /selected/ or not --
>> and this one is not (apart from the very beginning, before even the
>> first call to my function).
>
> Windows get selected+deselected all the time internally, e.g. as part of
> redisplay and lots of other things. It doesn't just refers to you doing
> `C-x o`.
Ah, that makes sense!!! Thanks a lot, that was the missing puzzle
piece.
I just introduced another marker variable to keep track of the position
in the buffer I need. I'll be blogging about the code I'm writing soon
(in fact, this is material for a whole series of posts!), so expect some
stuff to read (certainly!) and more questions (possibly).
Thanks again,
--
Marcin Borkowski
https://mbork.pl
https://crimsonelevendelightpetrichor.net/