all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: matsl@gnu.org,  emacs-devel@gnu.org
Subject: Re: Odd behavior when moving point over invisible text
Date: Mon, 05 Jun 2023 12:51:20 -0500	[thread overview]
Message-ID: <874jnlpzl3.fsf@red-bean.com> (raw)
In-Reply-To: <83h6rm3vqc.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Jun 2023 16:05:31 +0300")

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	other threads:[~2023-06-05 17:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 21:43 Odd behavior when moving point over invisible text Mats Lidell
2023-06-05  7:09 ` Karl Fogel
2023-06-05 13:05   ` Eli Zaretskii
2023-06-05 17:51     ` Karl Fogel [this message]
2023-06-05 19:38     ` Mats Lidell
2023-06-05 12:59 ` Eli Zaretskii
2023-06-05 23:30   ` Mats Lidell
2023-06-06 11:48     ` Eli Zaretskii
2023-06-06 12:07       ` Mats Lidell
2023-06-06 12:22         ` Eli Zaretskii
2023-06-06 22:45           ` Mats Lidell

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jnlpzl3.fsf@red-bean.com \
    --to=kfogel@red-bean.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=matsl@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.