emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Opening an Org file slowed down


From: Michael Brand
Subject: [O] Opening an Org file slowed down
Date: Mon, 11 Nov 2013 17:41:16 +0100

Hi all

I noticed that to open an Org file with a minimal example generated
like this slowed down:

#+BEGIN_SRC sh
  #!/bin/sh
  echo '* a'
  for ((i = 0; i < 400; i++)); do
      echo '  - b'
      echo '    :PROPERTIES:'
      echo '    :END:'
  done
#+END_SRC

Bisecting shows that release_8.2.1-161-g205e586 is fast and

release_8.2.1-162-gb392750

    commit b3927501081b1dab15540591d55f016ed4f9f948
    Author: Nicolas Goaziou <address@hidden>
    Date:   Sat Nov 2 15:48:36 2013 +0100

        Prevent flagging drawers in example blocks

is slow. Today's release_8.2.2-192-ge3033d3 is between fast and slow but
mainly it also slows down disproportionate to increasing the number 400
above. Emacs is 24.3.2 (with -q).

My use case is that "  - b" is in fact "  * b" and is converted in a
hook to "*** b" with the help of "hidestarsfile" from "fileconversion"
described here:
http://orgmode.org/worg/org-hacks.html#hidestarsfile

Michael



reply via email to

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