emacs-orgmode
[Top][All Lists]
Advanced

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

Re: :tangle header argument not picked up in #+PROPERTY line or :PROPERT


From: Ken Mankoff
Subject: Re: :tangle header argument not picked up in #+PROPERTY line or :PROPERTIES: block
Date: Sun, 29 Mar 2020 16:44:08 -0700

Header args overwrite. Change python to python+ to append header args.  

Please excuse brevity. Sent from tiny pocket computer with non-haptic feedback keyboard.

On Sun, Mar 29, 2020, 15:42 Joost Kremers <address@hidden> wrote:

On Mon, Mar 30 2020, Joost Kremers wrote:
> Looks like a bug, right?

And while I'm at it, this doesn't work as expected either:

```
#+PROPERTY: header-args :dir /home/joost/tmp/dlpy/

* Header 1
:PROPERTIES:
:header-args:python: :tangle out1.py
:header-args:python: :session py1 :results function
:END:

#+begin_src python
a=1
b=2
c=a+b
return c
#+end_src
```

I would expect that the file `out1.py` is created in the directory
`/home/joost/tmp/dlpy`, but it's created in the same directory as
the Org file.

Are my expectations wrong or is this really a bug?


--
Joost Kremers
Life has its moments


reply via email to

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