From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Opening an Org file slowed down Date: Mon, 11 Nov 2013 17:41:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfuYF-0003GA-3t for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfuYA-0001XW-De for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:41:23 -0500 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:42451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfuYA-0001XF-6g for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 11:41:18 -0500 Received: by mail-lb0-f171.google.com with SMTP id x18so3578559lbi.2 for ; Mon, 11 Nov 2013 08:41:16 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode 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 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