GNU bug report logs -
#19200
Point adjustment moves *into* invisible text
Previous Next
Full log
Message #14 received at 19200 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
> > this bug is tantalizing us in Magit:
> > https://github.com/magit/magit/issues/2592.
> > If someone would want to have a look some time...that would be nice!
>
> Are you sure you're hitting exactly this same bug?
> IOW can you circumvent the bug by adding M-: (point) RET ?
First question: no, I'm not, it's similar, but maybe not exactly the
same. The issue in Magit seems to be dependent to the setting
goal-column -> 0. But second question: yes!
And I found that when I replace
(if (zerop col)
(beginning-of-line)
(move-to-column col))
in the definition of line-move-to-column (at the beginning) with just
(move-to-column col)
(i.e. the else case)
the Magit issue is fixed. I have no clue why, however.
Shall I make a separate report - or will cursor-sensor.el care about
this stuff at some time in the future? Looking at the code in
simple.el, fixing this stuff will not be fun...
Regards,
Michael.
This bug report was last modified 2 years and 204 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.