From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: #+headers: :tangle doesn't work Date: Sat, 26 Jan 2013 13:11:56 -0700 Message-ID: <87k3qz3drc.fsf@gmail.com> References: <87ehhbykez.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzC70-0005bA-TP for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:12:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzC6z-0001kk-Kh for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:12:26 -0500 Received: from mail-ia0-x22d.google.com ([2607:f8b0:4001:c02::22d]:57905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzC6z-0001ka-FQ for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 15:12:25 -0500 Received: by mail-ia0-f173.google.com with SMTP id l29so2405286iag.18 for ; Sat, 26 Jan 2013 12:12:24 -0800 (PST) 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: Myles English Cc: emacs orgmode-mailinglist Myles English writes: > Hi, > > 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 > > Thanks, > > Myles > Hi Myles, Please ensure that you have the latest version of Org-mode loaded. 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, so it appears everything is working as expected. Best, -- Eric Schulte http://cs.unm.edu/~eschulte