emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd behavior when moving point over invisible text


From: Karl Fogel
Subject: Re: Odd behavior when moving point over invisible text
Date: Mon, 05 Jun 2023 12:51:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

On 05 Jun 2023, Eli Zaretskii wrote:
The point-adjustment feature needs to record the previous
position of point, to know in which direction to move it in
order to exit the invisible area: if point moved to a larger
buffer position and entered invisible text, point-adjustment
wants to move it further forward; if it moved towards lower
position, point-adjustment wants to move it back.  The bug was
that last point position was recorded in a global variable, and
M-x enters recursive-edit, which clobbered that variable's value
with the value from the minibuffer.

Thank you for the clear explanation, Eli. That all makes sense, as does your fix in commit 9a28600a9735.

Best regards,
-Karl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]