[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] mktemp for orgmode
From: |
Karl Voit |
Subject: |
Re: [O] mktemp for orgmode |
Date: |
Sun, 18 Mar 2018 15:20:27 +0100 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
* John Kitchin <address@hidden> wrote:
>
> Can you do something like:
>
> #+BEGIN_SRC some-lang :results output org drawer :file (make-temp-file
> "prefix-")
> ....
> #+END_SRC
Awesome!
I was looking in the wrong direction.
#+BEGIN_SRC plantuml :file (make-temp-file "2018-03-18-testprefix-" nil ".svg")
(*) --> "step1"
--> "step2"
--> (*)
#+END_SRC
... works as expected and even defines the correct file extension.
Thanks!
--
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/