[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Tangling based on file level #+PROPERTY

From: Ken Mankoff
Subject: Re: [O] Tangling based on file level #+PROPERTY
Date: Sat, 7 Oct 2017 18:05:30 +0200

Strange, and nevermind. Restarting emacs fixed it. It must have been something to do with stale files and the upgrade.


On Sat, Oct 7, 2017 at 3:44 PM, Kaushal Modi <address@hidden> wrote:
On Sat, Oct 7, 2017, 7:10 AM Ken Mankoff <address@hidden> wrote:
Hi Org List,

I just upgraded to 9.1.2.

What version did you upgrade from?

I have a file with this at the top:

#+PROPERTY: header-args  :tangle filename

And a lot of SRC blocks with this header:

#+BEGIN_SRC emacs-lisp

In the past, when I tangled the file, I got ~100 blocks exported. Now I get 5, because only 5 have explicit ":tangle" arguments in the header.

I just checked the NEWS file and did not see mention of this change. Has something changed with the header-arg properties? Babel?

It impossible to tell what's wrong with just that information. Can you share a minimum working example that demonstrates this? (something that should probably tangle 3 files but is instead tangling just 1?)

My best guess is you have this style of  incompatible properties?

*** Old Babel header properties are no longer supported

Using header arguments as property names is no longer possible. As
such, the following

,* Headline
:exports: code
:var: a=1 b=2
:var+: c=3

should be written instead

,* Headline
:header-args: :exports code
:header-args+: :var a=1 b=2
:header-args+: :var c=3

Please note that, however, old properties were defined at the source
block definition. Current ones are defined where the block is called.


Kaushal Modi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]