Subject: bug#62780: 30.0.50; Redisplay gets slow when using Org tables + show-trailing-whitespace

From: Ihor Radchenko <[email-masked]>
Date: Tue, 11 Apr 2023 18:52:43 +0000

Try the following:

1. emacs -Q
2. M-x org-mode <RET>
3. M-x org-table-create <RET> 30x30 <RET>
4. M-: (setq show-trailing-whitespace t) <RET>
4. M-x org-table-insert-column <RET> (20x times)
5. M-> type something
6. Observe significant lag when typing. CPU profiler does not expose much.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
 1.17.8) of 2023-04-05 built on localhost
Repository revision: fa669c4b17c04eff852eb23a6179ccb8fab864db
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Gentoo Linux

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>