GNU bug report logs - #62780
30.0.50; Redisplay gets slow when using Org tables + show-trailing-whitespace

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Tue, 11 Apr 2023 18:51:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 62780 <at> debbugs.gnu.org
Subject: bug#62780: 30.0.50; Redisplay gets slow when using Org tables + show-trailing-whitespace
Date: Fri, 14 Apr 2023 16:51:08 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: 62780 <at> debbugs.gnu.org
> Date: Fri, 14 Apr 2023 12:52:32 +0000
> 
> Also, I am a bit confused about the purpose of
> 
>       /* Make sure the above arbitrary limit position is not in the
> 	 middle of composable text, so we don't break compositions by
> 	 submitting the composable text to the shaper in separate
> 	 chunks.  We play safe here by assuming that only SPC, TAB,
> 	 FF, and NL cannot be in some composition; in particular, most
> 	 ASCII punctuation characters could be composed into ligatures.  */
> 
> in compute_stop_pos
> 
> AFAIU, it tries hard to not stop in the middle of composed region. 

That one is mainly about automatic compositions, not static
compositions.

> Then, why need to fall back to 500 in the
> composition_compute_stop_pos call?

Because composition_compute_stop_pos is called from many other places,
for other reasons.




This bug report was last modified 2 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.