emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] #+headers: :tangle doesn't work


From: Myles English
Subject: Re: [O] #+headers: :tangle doesn't work
Date: Sat, 26 Jan 2013 20:39:58 +0000
User-agent: mu4e 0.9.9.5-dev6; emacs 24.2.1

Hi Eric,

Thanks for taking a look at this.

Eric Schulte writes:

> Myles English <address@hidden> writes:
>>
>> I'd just like to record a minor inconsistency in case anyone is looking
>> at the code and decides they can change it.  The tangle variable can't
>> go in the #+headers line:
>>
>> #+headers: :tangle a.sh
>> #+begin_src sh
>> echo "this won't be tangled"
>> #+end_src
>>
>> #+begin_src sh :tangle a.sh
>> echo "this will be tangled"
>> #+end_src
>>

> Please ensure that you have the latest version of Org-mode loaded.

Using a very recent git.

> When I tangle a file containing the above two code blocks both are
> tangled correctly to a.sh.  If I then remove the #+headers: line only
> the second block is tangled,

I get that too.

> so it appears everything is working as expected.

Not so fast, if I try to tangle each block separately C-u C-c C-v t then
the one with #+headers: doesn't tangle and there is the message:

"tangled 0 code blocks from x.org"

Myles



reply via email to

[Prev in Thread] Current Thread [Next in Thread]