From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: How to create non-inheritable properties? Date: Sun, 08 Jun 2014 23:24:55 +0200 Message-ID: <87a99nccwo.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wtkab-0004wB-JY for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 17:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtkaV-0007Bk-CD for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 17:25:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:47797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtkaV-0007B9-63 for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 17:25:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WtkaR-0001Xr-N3 for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 23:25:07 +0200 Received: from e178059198.adsl.alicedsl.de ([85.178.59.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 23:25:07 +0200 Received: from tjolitz by e178059198.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 23:25:07 +0200 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: emacs-orgmode@gnu.org Grant Rettke writes: > Hi, > > My org file has a lot of text in it. It really needs to be in the same > file though, so it is a big file. > > When I org-babel-tangle, I would like to speed it up as it takes 8 minutes. 8 minutes? wow ... when I convert my former big init.el with 7272 lines to org-mode with ,----------------------- | M-x outorg-edit-as-org `----------------------- like this ,------------------------------------------ | (benchmark-run (outorg-edit-as-org '(4))) `------------------------------------------ the result is ,----------------------------------- | (3.551239904 8 0.7361492030000001) `----------------------------------- i.e. 4 seconds. Converting it back to emacs-lisp-mode with ,--------------------------------------------- | (benchmark-run (outorg-copy-edits-and-exit)) `--------------------------------------------- takes ,------------------------------------ | (0.107002176 1 0.09775636400000032) `------------------------------------ i.e. 0.1 sec. I don't know *how* big your file is, but instead of waiting 8 min for tangling you could as well install outshine.el and outorg.el and then use ,----------------------------------- | M-: outorg-convert-org-to-outshine `----------------------------------- to convert your org-file to an (org-style) structured emacs-lisp file. Then you don't need any tangling anymore since you are in emacs-lisp-mode anyway, and whenever you want to edit (comment-)text you use outorg to temporarily convert the subtree or the whole buffer to org-mode for editing. -- cheers, Thorsten