From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Discussion request: 15m tangle time, details follow Date: Wed, 18 Jun 2014 10:18:42 +0200 Message-ID: <8761jy1vh9.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxB5E-0006vv-Bp for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 04:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxB58-0001BY-IK for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 04:19:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:45285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxB58-0001BU-Cj for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 04:18:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxB57-0004qU-Bn for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:18:57 +0200 Received: from e178189070.adsl.alicedsl.de ([85.178.189.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 10:18:57 +0200 Received: from tjolitz by e178189070.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 10:18:57 +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: > The average build takes 15m. Which file do you mean - TC3F.org? Thats some 4400 lines, thus not _that_ big really. I once used a giant init.el copied from the web that had some 8000 lines (now I'm back to 2500 again ...). I converted that file to outshine, since its mainly one programming language (emacs-lisp in this case): [with-current-buffer "TC3F.org] ,------------------------------------------------- | (benchmark-run (outorg-convert-org-to-outshine)) | (1.7926752110000002 8 1.042145478000009) `------------------------------------------------- After this is done *once*, you can always switch between emacs-lisp and org-mode with outorg, It takes 0.4 sec to convert the whole file to org again ,------------------------------------------ | (benchmark-run (outorg-edit-as-org '(4))) | (0.365756325 1 0.13800897400000167) `------------------------------------------ and 1.6 sec to convert it back to outshine (I have to fix this speed difference ;) ,--------------------------------------------- | (benchmark-run (outorg-copy-edits-and-exit)) | (1.616835235 8 1.106696710999998) `--------------------------------------------- But normally you do not convert the whole buffer to Org with outorg, just the subtree at hand, and thats instantly. Then productivity means that your init file *is* in a programming language mode (TC3F.el) and you can modify and eval your code on-the-fly. Whenever you need to edit the comment text, you do M-# M-# ,----------------------- | M-x outorg-edit-as-org `----------------------- and when you are done, M-# ,------------------------------- | M-x outorg-copy-edits-and-exit `------------------------------- Its just the reverse of Org-mode with souce-blocks, and in cases like an Emacs init-file, when its mostly one programming language and the source-code is more important than the text (and frequently modified), this reverse approach might be more productive. PS I just figured that I ran the benchmarks on an outorg testing branch, which is faster than master but not yet ready. So things might be a bit slower with master branch, but in terms of seconds (maybe 2 or 3 sec to convert the whole file?) -- cheers, Thorsten