From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" via "General discussions about Org-mode." Subject: Re: :tangle header argument not picked up in #+PROPERTY line or :PROPERTIES: block Date: Sun, 29 Mar 2020 17:45:28 +0000 Message-ID: <77D76CC7-D45E-40A4-9D67-97057256B1E5@ucsd.edu> References: <87imiof8d3.fsf@fastmail.fm> Reply-To: "Berry, Charles" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53050) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIc0J-0001dl-DL for emacs-orgmode@gnu.org; Sun, 29 Mar 2020 13:45:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIc0I-000129-1v for emacs-orgmode@gnu.org; Sun, 29 Mar 2020 13:45:47 -0400 Received: from mx0a-00395d01.pphosted.com ([148.163.133.170]:13444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jIc0H-0000yp-Ek for emacs-orgmode@gnu.org; Sun, 29 Mar 2020 13:45:46 -0400 In-Reply-To: <87imiof8d3.fsf@fastmail.fm> Content-Language: en-US Content-ID: <949F9EA0C4434849995698E8696777D0@AD.UCSD.EDU> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Joost Kremers Cc: "emacs-orgmode@gnu.org" > On Mar 28, 2020, at 3:00 PM, Joost Kremers wro= te: >=20 > Hi list, >=20 > I'm having trouble tangling an Org file. Basically, if I put a =3D:tangle= =3D header argument in a =3D#+PROPERTY=3D line at the top of the file or in= a =3D:PROPERTIES:=3D block under a header, it is not picked up and the cod= e blocks to which (I think) it should apply are not tangled. Only when I pu= t a =3D:tangle=3D argument at the top of the source block itself is the sou= rce block tangled. >=20 > Is this expected behaviour? Am I doing something wrong? IIUC what you did, then yes and yes. This is the accepted idiom: #+PROPERTY: header-args :tangle yes Remember that if you add or change that line you need to update with C-c C-= c or `org-mode-restart'. Maybe you omitted the `header-args'. That used to be correct syntax but was= obsoleted some time back. See (info "(org) Using Header Arguments") HTH, Chuck >=20 > Emacs 26.3, Org 9.3.6. >=20 > TIA >=20 > Joost >=20 >=20 > --=20 > Joost Kremers > Life has its moments >=20 >=20