[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-babel guile source block bug in handling multiple values
From: |
Daniel Kraus |
Subject: |
Re: org-babel guile source block bug in handling multiple values |
Date: |
Thu, 09 Mar 2023 15:21:38 +0100 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:
>> (q1) What is a rationale, if any, behind the let-wrapping?
>
> It makes sense in ob-emacs-lisp to not litter global Emacs state.
> In other ob-* lisp backends, I am not sure.
> I am CCing Daniel, the maintainer of ob-clojure (we have no active
> maintainer for ob-scheme now). Maybe, Daniel has some useful insight.
No, unfortunately I don't have any more insights than already discussed.
I think wrapping the vars in let just seems natural for lisps.
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).
But given that apparently almost all other babel languages define
a global var, I'll just make the same change in ob-clojure?!
Cheers,
Daniel
- 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)
- [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 <=
- Re: org-babel guile source block bug in handling multiple values, Ihor Radchenko, 2023/03/10
- 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