[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19200: Point adjustemnt moves *into* invisible text
From: |
Stefan Monnier |
Subject: |
bug#19200: Point adjustemnt moves *into* invisible text |
Date: |
Thu, 31 Mar 2016 14:04:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> So someone needs to step through the code and figure out why this
>> doesn't happen.
> I guess you expected me to be that Someone...
Actually, no, I expected Michael would be motivated to do it, since he's
the one presumably affected.
> get_char_property_and_overlay returns nil for position 3 - 1 = 2, and
> the while loop is exited with beg = 3 and end = 5.
Good so far.
> Since point is 5,
> we land here:
OK, so indeed, the problem is in
/* Move away from the inside area. */
if (beg < PT && end > PT)
In our case, end==PT, but we do want to enter this `if's body to move PT
to `beg'.
Stefan
- bug#19200: Point adjustemnt moves *into* invisible text, (continued)
- bug#19200: Point adjustemnt moves *into* invisible text, Stefan Monnier, 2016/03/21
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/22
- bug#19200: Point adjustemnt moves *into* invisible text, Stefan Monnier, 2016/03/22
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/22
- bug#19200: Point adjustemnt moves *into* invisible text, Stefan Monnier, 2016/03/22
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/23
- bug#19200: Point adjustemnt moves *into* invisible text, Stefan Monnier, 2016/03/23
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/23
- bug#19200: Point adjustemnt moves *into* invisible text, Stefan Monnier, 2016/03/23
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/31
- bug#19200: Point adjustemnt moves *into* invisible text,
Stefan Monnier <=
- bug#19200: Point adjustemnt moves *into* invisible text, Michael Heerdegen, 2016/03/31
- bug#19200: Point adjustment moves *into* invisible text, John Wiegley, 2016/03/26
- bug#19200: Point adjustemnt moves *into* invisible text, Eli Zaretskii, 2016/03/21
- bug#19200: Point adjustemnt moves *into* invisible text, Michael Heerdegen, 2016/03/21