[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-babel guile source block bug in handling multiple values
From: |
Ihor Radchenko |
Subject: |
Re: org-babel guile source block bug in handling multiple values |
Date: |
Fri, 10 Mar 2023 11:57:59 +0000 |
Daniel Kraus <daniel@kraus.my> writes:
> If I could freely choose if a :var declaration in one source block
> should create a global variable for all other blocks in this session,
> I would say making it only available in the defining source block
> is more natural (i.e. use let instead of def).
You can always introduce a language-specific header argument that will
control this behaviour. If you think that it can be useful.
Note that org-babel gives no promises about :vars being globally
available in :session. So, there is technically no obligation to prefer
global definition over let-binding. Unless let-binding can cause bugs,
as the one reported here for Guile.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [BUG] Inconsistent global/local :var assignments in ob-* for lisps and non-lisps (was: org-babel guile source block bug in handling multiple values), (continued)
- Re: [BUG] Inconsistent global/local :var assignments in ob-* for lisps and non-lisps (was: org-babel guile source block bug in handling multiple values), Ihor Radchenko, 2023/03/12
- [PATCH] lisp/ob-scheme.el, Zelphir Kaltstahl, 2023/03/19
- Re: [PATCH] lisp/ob-scheme.el, Ihor Radchenko, 2023/03/22
- Re: [PATCH] lisp/ob-scheme.el, Zelphir Kaltstahl, 2023/03/25
- Re: [PATCH] lisp/ob-scheme.el, Ihor Radchenko, 2023/03/26
- Re: org-babel guile source block bug in handling multiple values, Ihor Radchenko, 2023/03/09
- Re: org-babel guile source block bug in handling multiple values, Zelphir Kaltstahl, 2023/03/10
- Re: org-babel guile source block bug in handling multiple values, Ihor Radchenko, 2023/03/11
- Re: org-babel guile source block bug in handling multiple values, Ihor Radchenko, 2023/03/09
- Re: org-babel guile source block bug in handling multiple values, Daniel Kraus, 2023/03/09
- Re: org-babel guile source block bug in handling multiple values,
Ihor Radchenko <=
- Re: org-babel guile source block bug in handling multiple values, Zelphir Kaltstahl, 2023/03/10
- Re: org-babel guile source block bug in handling multiple values, Zelphir Kaltstahl, 2023/03/07
- Re: org-babel guile source block bug in handling multiple values, Ihor Radchenko, 2023/03/08
Re: org-babel guile source block bug in handling multiple values, Max Nikulin, 2023/03/07
Re: org-babel guile source block bug in handling multiple values, Rudolf Adamkovič, 2023/03/07