From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: #+headers: :tangle doesn't work Date: Sat, 26 Jan 2013 20:39:58 +0000 Message-ID: <87622ju1e2.fsf@gmail.com> References: <87ehhbykez.fsf@gmail.com> <87k3qz3drc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzCcb-0008AG-BO for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:45:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzCcZ-0005As-Sk for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:45:05 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:46826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzCcZ-00058f-K4 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:45:03 -0500 Received: by mail-wi0-f169.google.com with SMTP id hq12so532733wib.2 for ; Sat, 26 Jan 2013 12:45:02 -0800 (PST) In-reply-to: <87k3qz3drc.fsf@gmail.com> 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: Eric Schulte Cc: emacs orgmode-mailinglist Hi Eric, Thanks for taking a look at this. Eric Schulte writes: > Myles English 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