emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Commit bb2848 causes performance problems


From: Marcel van der Boom
Subject: [O] Commit bb2848 causes performance problems
Date: Mon, 6 Feb 2012 18:09:30 +0100

commit bb28480169558a183fab2330476a49b4fb1aec46 causes major
performance problems in my install.

GNU Emacs 24.0.92.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.6)

The relevant change:

diff --git a/lisp/org.el b/lisp/org.el
index 587d298..f670787 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6301,6 +6301,8 @@ in special contexts.
          (org-list-set-item-visibility (point-at-bol) struct 'children)
        (org-show-entry)
        (show-children)
+       (when (memq 'org-cycle-hide-drawers org-cycle-hook)
+         (org-cycle-hide-drawers 'subtree))
        ;; Fold every list in subtree to top-level items.
        (when (eq org-cycle-include-plain-lists 'integrate)
          (save-excursion

I isolated this commit by using 'git bisect'. 

The problem is very noticeable on a reasonably large org file (about
15000 lines). The behaviour I am seeing is a delay in cursor movement
(and cpu load increasing for the emacs process) when the point is on
the higher outline levels. The delay is less when moving the point
further down the tree, presumably because the subtree below that
particular point gets smaller.

By commenting out the two lines marked in the diff, the delay
disappears completely.

Do I have a configaration error, or is this a bug?

marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
We use bitcoin!      -- http://bitcoin.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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