|
From: | Sean Markan |
Subject: | Re: [O] fill-paragraph running slowly in org mode |
Date: | Thu, 17 Jul 2014 16:12:56 -0400 |
Actually, the full section is processed. It can be slow on very large
> I just upgraded to a new version of Linux/emacs/org-mode, and am finding
> that fill-paragraph (M-q) runs very slowly in org-mode on large files.
> With about 50k lines in the buffer, fill-paragraph takes around 3 seconds
> even if the paragraph is only a couple lines. (The behavior is correct,
> the problem is just the slowness.) The time seems to scale linearly with
> the number of lines in the buffer as if the whole file is being processed
> during each fill-paragraph.
sections, indeed. Though, you could use a profiler (M-x profiler-start)
to check if something is suspicious.
Note that Org 8.3+ makes it a lot better with a cache mechanism, but it
is still buggy at the moment.
[Prev in Thread] | Current Thread | [Next in Thread] |