Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Grant Rettke
On Sun, Jun 8, 2014 at 4:45 PM, Charles Berry  wrote:
> Just guessing at this, but ...
>
> I suspect Grant's file has noweb chunks and that
> `org-babel-use-quick-and-dirty-noweb-expansion' is set to nil.

Exactly. Have been using it quite extensively.

> If the :noweb-ref feature is not used, setting that variable to t will
> make a time difference of a couple of orders of magnitude.

Good to be reminded.

I've relied quite heavily upon the noweb-ref property inheritance.

Glad to know at least that this is expected.



Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Grant Rettke
On Sun, Jun 8, 2014 at 4:24 PM, Thorsten Jolitz  wrote:
> 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
> `---

Interesting, thanks!



Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Charles Berry
Thorsten Jolitz  gmail.com> writes:

> 
> Grant Rettke  wisdomandwonder.com> 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 ...
> 

Just guessing at this, but ...

I suspect Grant's file has noweb chunks and that 
`org-babel-use-quick-and-dirty-noweb-expansion' is set to nil.

If the :noweb-ref feature is not used, setting that variable to t will
make a time difference of a couple of orders of magnitude.

HTH,

Chuck




Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Thorsten Jolitz
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.736149203001)
`---

i.e. 4 seconds.

Converting it back to emacs-lisp-mode with

,-
| (benchmark-run (outorg-copy-edits-and-exit))
`-

takes 

,
| (0.107002176 1 0.0977563640032)
`

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




[O] How to create non-inheritable properties?

2014-06-07 Thread Grant Rettke
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.

One thought; if I mark the headings that should neither export nor
tangle, at all, with this:

  :PROPERTIES:
  :exports: none
  :tangle: no
  :END:

Then would it be possible to make those non-overridable so that when
tangling is occurring that those huge
chunks of text would simply be ignored and possible speed up the tangle?

Kind regards,

Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson