emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Berry, Charles" <ccberry@ucsd.edu>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: babel properties and inheritance
Date: Thu, 12 Jul 2018 16:19:59 +0000	[thread overview]
Message-ID: <7F57E53B-0812-419E-843C-CC6B3AC5D725@ucsd.edu> (raw)
In-Reply-To: <m2tvp4lna3.fsf@gmail.com>



> On Jul 12, 2018, at 4:13 AM, Ken Mankoff <mankoff@gmail.com> wrote:
> 
> Hi Org List,
> 
> I'm confused about the inheritance behavior of babel properties.
> 
>> From the MWE below, I'd expect :tangle to take effect at the heading level (it does), but :tangle-mode and :comments to apply to the whole file. They do not have any effect. It doesn't seem to matter if I turn on or off org-use-property-inheritance. In either case, :comments are not tangled, and the file mode is not 755.
> 
>  -k.
> 
> MWE ======================================================
> 
> #+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 

      reply	other threads:[~2018-07-12 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-12 11:13 babel properties and inheritance Ken Mankoff
2018-07-12 16:19 ` Berry, Charles [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7F57E53B-0812-419E-843C-CC6B3AC5D725@ucsd.edu \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=mankoff@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).