From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Loris Bennett" <loris.bennett@fu-berlin.de>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Sharing variables between source blocks without session
Date: Fri, 19 Mar 2021 14:26:47 +0000 [thread overview]
Message-ID: <875z1n9q3c.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87blbfnt1k.fsf@hornfels.zedat.fu-berlin.de> (Loris Bennett's message of "Fri, 19 Mar 2021 14:59:19 +0100")
On Friday, 19 Mar 2021 at 14:59, Loris Bennett wrote:
> To be honest, I find it is a wee bit confusing that it's
>
> #+PROPERTY: header-args:sh :var user="loris"
>
> *without* a colon after the language (if I add it, there is not error,
> but the variable is just not set) but
>
> :PROPERTIES:
> :header-args:sh: :var user="loris"
> :END:
When in a property drawer, the name of the property you want to set is
enclosed within a pair of :s. When in a #+PROPERTY statement, there is
no need for the :s, just the name. It's not about the language part of
it at all.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-254-g37749c
next prev parent reply other threads:[~2021-03-19 14:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 8:56 Sharing variables between source blocks without session Loris Bennett
2021-03-16 9:16 ` Loris Bennett
2021-03-16 13:28 ` Eric S Fraga
2021-03-18 13:21 ` Loris Bennett
2021-03-18 15:56 ` Eric S Fraga
2021-03-19 6:50 ` Loris Bennett
2021-03-18 17:59 ` Cook, Malcolm
2021-03-19 6:38 ` Loris Bennett
2021-03-19 7:04 ` Loris Bennett
2021-03-19 13:26 ` Eric S Fraga
2021-03-19 13:59 ` Loris Bennett
2021-03-19 14:26 ` Eric S Fraga [this message]
2021-03-22 7:39 ` Loris Bennett
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=875z1n9q3c.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=loris.bennett@fu-berlin.de \
/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).