[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto de-composition when point is inside a composition
From: |
Stefan Monnier |
Subject: |
Re: Auto de-composition when point is inside a composition |
Date: |
Mon, 21 Oct 2019 14:43:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> - why do we need to set windows_or_buffers_changed at all here?
>> after all, this code is only run in some circumstances, definitely not
>> all the circumstances where we might need to redraw the grapheme
>> cluster after point moved out of it, so it seems it's not the right
>> place to handle this case (it seems either redundant or insufficient).
>
> Maybe because otherwise the redisplay optimizations taken in case only
> point moved could fail to redisplay (they might only redraw the
> character at point, and fail to include the rest of the composition)?
But in that case, if the command that moved point set
disable-point-adjustment to non-nil, we'd have a redisplay error, no
(since we'd then skip this chunk of code).
Stefan