emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Sharing variables between source blocks without session


From: Loris Bennett
Subject: Re: Sharing variables between source blocks without session
Date: Mon, 22 Mar 2021 08:39:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> 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.

Thanks for the clarification.  I didn't think it was about the language
part - I was just using the position describe which colon I meant.  The
colon gets to do quite a lot of work in Org :-)

Cheers,

Loris

-- 
This signature is currently under construction.




reply via email to

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