Subject: Re: bug#64724: 30.0.50; Inconsistency between manual, comments in the code, and implementation of point adjustment

From: Ihor Radchenko <[email-masked]>
Date: Thu, 20 Jul 2023 09:57:02 +0000

Stefan Monnier <[email-masked]> writes:

> Indeed, the `set_point_both` adjustment is an obsolete (mis-)feature
> that has been deprecated since Emacs-25, when
> `inhibit-point-motion-hooks`s default has been changed to t (and
> replaced with `cursor-sensor-mode` and
> `cursor-intangible-mode`).

Will it ever be removed though?
It appears to affect outline mode a lot.

We just recently received a somewhat related report with yet another
point adjustment subtlety:

* Short heading...
* Very very very very long heading<point>...

C-p will move after hidden text above:

* Short heading...<point>
* Very very very very long heading...

And I am pretty sure that there are many edge cases like this, which
rely on the implementation details with point adjustment.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>