emacs-devel
[Top][All Lists]
Advanced

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

Re: Redisplay loop with an unicode overlay-arrow-string


From: Eli Zaretskii
Subject: Re: Redisplay loop with an unicode overlay-arrow-string
Date: Fri, 22 Apr 2022 13:46:26 +0300

> From: Yuri D'Elia <wavexx@thregr.org>
> Date: Fri, 22 Apr 2022 11:49:37 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> 
> I swear I tried the unicode arrow somehow. How I did it? No idea.. it
> hangs in any way I set it now ;)).

It only hangs (well, hanged) if the characters involved use more than
one byte in its internal representation, and then only if the byte
index of some character is greater than the index of the last
characters in the string.  The hang is (was) caused by
get-text-property, called by the code, signaling an error due to
invalid character index, which would then trigger another redisplay
cycle, which will then cause another error, etc. etc.



reply via email to

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