GNU bug report logs -
#64988
30.0.50; move-to-column can move across lines if there is a text with display property
Previous Next
Reported by: Herman, Géza <geza.herman <at> gmail.com>
Date: Tue, 1 Aug 2023 10:55:02 UTC
Severity: normal
Tags: notabug, wontfix
Merged with 66942
Found in version 30.0.50
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #30 received at control <at> debbugs.gnu.org (full text, mbox):
unarchive 64988
forcemerge 66942 64988
thanks
> From: Sebastian Wålinder <s.walinder <at> gmail.com>
> Date: Sun, 05 Nov 2023 09:14:05 +1100
>
> There was a bug that I encountered in a downstream Emacs package relating to setting line-move-visual to nil and running line-move when the package has created overlays on newlines.
>
> The maintainer of the package has tracked down the bug to some incorrect behavior in the function move-to-column when overlays are present on newlines.
>
> Here's a link to the issue that describes the issue with move-to-column:
> https://github.com/jdtsmith/indent-bars/issues/22
>
> Thoughts?
It's the intended behavior. It is the best Emacs can do given the
limitations posed by such overlay strings, see the detailed
explanation in bug#64988.
My best recommendation is not to use overlay strings with embedded
newlines, if accurate movement by columns is important.
This bug report was last modified 1 year and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.