From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: babel properties and inheritance Date: Thu, 12 Jul 2018 16:19:59 +0000 Message-ID: <7F57E53B-0812-419E-843C-CC6B3AC5D725@ucsd.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdeKa-0006gm-J7 for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 12:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdeKW-000719-Jf for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 12:20:36 -0400 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:28873) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdeKW-0006gY-4E for emacs-orgmode@gnu.org; Thu, 12 Jul 2018 12:20:32 -0400 In-Reply-To: Content-Language: en-US Content-ID: <398D5EFB702C6848B8E0144657D29007@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.org@gnu.org Sender: "Emacs-orgmode" To: Ken Mankoff Cc: Org-mode > On Jul 12, 2018, at 4:13 AM, Ken Mankoff wrote: >=20 > Hi Org List, >=20 > I'm confused about the inheritance behavior of babel properties. >=20 >> From the MWE below, I'd expect :tangle to take effect at the heading lev= el (it does), but :tangle-mode and :comments to apply to the whole file. Th= ey do not have any effect. It doesn't seem to matter if I turn on or off or= g-use-property-inheritance. In either case, :comments are not tangled, and = the file mode is not 755. >=20 > -k. >=20 > MWE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > #+PROPERTY: header-args: :tangle debug.sh :tangle-mode (identity #o755) := comments org ........................^... Delete the colon. Then C-c C-c (which I often forget!) then use `:header-args+:' for any heading to avoid clobbering the args you = do not wish to change. Chuck =