bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65105: Reusing the same string as 'display on consecutive characters


From: JD Smith
Subject: bug#65105: Reusing the same string as 'display on consecutive characters evades display
Date: Sat, 5 Aug 2023 18:49:11 -0400

That’s probably the right approach.  Or even simpler, allocate two identical 
strings and alternate.  Thanks.

> On Aug 5, 2023, at 6:46 PM, Dmitry Gutov <dmitry@gutov.dev> wrote:
> 
> On 05/08/2023 23:49, JD Smith wrote:
>> Aha, thanks.  It does make sense from an optimization standpoint to “gang” 
>> properties in this manner.  Are you aware of any approach that allow 
>> re-using a string for ‘display, but permits consecutive intervals to remain 
>> distinct?
> 
> Overlays? But they have certain performance problems when their number grows.
> 
> Or you could try resolving this manually: when the previous character is 
> assigned with the same line, do a copy-sequence, and when it's a different 
> one, you can use the "singleton" one.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]