Re: [O] Discussion request: 15m tangle time, details follow

2014-06-20 Thread Grant Rettke
This is a nicer way, makes it obvious what *is* being used; uses dash.el: (let* ((allowed '(exports file noweb noweb-ref session tangle)) (new-ls (--filter (member (car it) allowed)

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Eric Schulte
Grant Rettke g...@wisdomandwonder.com writes: I still want to be using org,, so my plan for now then is to write a pre-processing script for before org-babel-tangle is run that: 1. Checks each headline 2. Checks if there is a source block 3. If that source block doesn't have a noweb-ref

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Grant Rettke
Understood. I will start testing. Just out of curiosity, knowing full well that it will break the tangle, and also since I hadn't tried the quick and dirty flag, I ran it with this to see how long it took: (setq org-babel-common-header-args-w-values nil) It went from 936 seconds (15 minutes)

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Grant Rettke
Just excluded what seemed excludable and got build time down to 8 minutes from 15 minutes. Kept the following as it seems that it would allow the most important things: (session. :any) (noweb-ref . :any) (noweb . ((yes no tangle no-export strip-export))) (file .

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Sebastien Vauban
Hi Aaron, Aaron Ecay wrote: [...] babel needs to fetch 30 properties per source block. Indeed, this is marked “deprecated” in the source, in favor of a system where there is only one header arg. This has been marked deprecated for almost exactly a year in the code (Achim’s commit 90b16870

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Andreas Leha
Hi Grant, Grant Rettke g...@wisdomandwonder.com writes: Good evening, Over the past few months I've been working on the same literate document. It has been a learning experience for me, trial and error has abounded. The key tenet that I've adhered too though is to truly embrace literate

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Thorsten Jolitz
Grant Rettke g...@wisdomandwonder.com 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

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Grant Rettke g...@wisdomandwonder.com writes: The average build takes 15m. [with-current-buffer TC3F.org] 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

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Aaron Ecay
Hi Sebastien, 2014ko ekainak 18an, Sebastien Vauban-ek idatzi zuen: Hi Aaron, Aaron Ecay wrote: [...] babel needs to fetch 30 properties per source block. Indeed, this is marked “deprecated” in the source, in favor of a system where there is only one header arg. This has been marked

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Tue, Jun 17, 2014 at 9:41 PM, Aaron Ecay aarone...@gmail.com wrote: Here you mean time to tangle, correct? Yes, thank you for digging in.

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Wed, Jun 18, 2014 at 3:20 AM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Just one quick idea: Have you tried [fn:1] (setq org-babel-use-quick-and-dirty-noweb-expansion t) This can lead to dramatic speedups in my experience. I have not because I am utilizing property

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Wed, Jun 18, 2014 at 3:18 AM, Thorsten Jolitz tjol...@gmail.com wrote: Grant Rettke g...@wisdomandwonder.com 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

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
I still want to be using org,, so my plan for now then is to write a pre-processing script for before org-babel-tangle is run that: 1. Checks each headline 2. Checks if there is a source block 3. If that source block doesn't have a noweb-ref name, and there is another source block under that

[O] Discussion request: 15m tangle time, details follow

2014-06-17 Thread Grant Rettke
Good evening, Over the past few months I've been working on the same literate document. It has been a learning experience for me, trial and error has abounded. The key tenet that I've adhered too though is to truly embrace literate programming, and the more I learn the more it makes sense. The

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-17 Thread Nick Dokos
Grant Rettke g...@wisdomandwonder.com writes: This build is documented in the github project; it only loads the absolute minimum required to do the build. Ideas: Separate the documents. Hack on org directly. Non-ideas: Faster hardware. More ram. Newer software. Details: Emacs 24.3.1.