From: Myles English <mylesenglish@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: Re: #+headers: :tangle doesn't work
Date: Sat, 26 Jan 2013 20:39:58 +0000 [thread overview]
Message-ID: <87622ju1e2.fsf@gmail.com> (raw)
In-Reply-To: <87k3qz3drc.fsf@gmail.com>
Hi Eric,
Thanks for taking a look at this.
Eric Schulte writes:
> Myles English <mylesenglish@gmail.com> 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
next prev parent reply other threads:[~2013-01-26 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 15:43 #+headers: :tangle doesn't work Myles English
2013-01-26 20:11 ` Eric Schulte
2013-01-26 20:39 ` Myles English [this message]
2013-01-26 20:59 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87622ju1e2.fsf@gmail.com \
--to=mylesenglish@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.