|
From: | Maxim Nikulin |
Subject: | Re: Typing latency |
Date: | Thu, 11 Feb 2021 23:25:05 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 09/02/2021 01:24, Sébastien Miquel wrote:
I often get some unpleasant latency when editing org-mode 1. Is anyone experiencing something similar ?
It is not namely typing latency, but I have noticed lags while moving over collapsed headings with "up" key (with "down" it is not so apparent) e.g. in overview view. It has happened after linux upgrade, emacs version changed from 25.2 to 25.3, system package with org mode updated as well. The org file has significant size: 50k lines, 2Mb. I have created a LXC container to compare performance with older emacs. It is quite strange. With org version from git, emacs version is not really important, flyspell mode is irrelevant.
It seems, it depends on loading order. From earlier experiments the following line survived in my init.el just below of custom-set-variables:
(require 'org-protocol)as soon as I commented it out (independently if it is added to org-modules), moving over headers has become significantly more responsive. A side effect: with that line, "#+STARTUP: overview" was not necessary. Sorry, I do not have any numbers from profiler.
On the other hand, removing of that line does not have so great effect on org mode 9.3.1 from the system elpa-org package. Latency is still noticeable.
[Prev in Thread] | Current Thread | [Next in Thread] |