[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] oddity tangling src_blk with :var [9.7-pre (release_9.6.26-136
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] oddity tangling src_blk with :var [9.7-pre (release_9.6.26-1368-g1ae978 @ /home/minshall/.emacs.d/straight/build/org/)] |
Date: |
Sun, 28 Apr 2024 12:29:19 +0000 |
Greg Minshall <minshall@umich.edu> writes:
> here is the variable to be included.
> ,#+name: variable
> | 2.4 |
>
> and, the code block that includes that variable
> ,#+begin_src sh :var variable=variable :shebang #!/bin/sh :tangle
> variable.sh
> echo "${variable}"
> ,#+end_src
Confirmed.
This is because Org mode currently cannot distinguish between babel
backends that simply do not support variable assignments and babel
backends that are not loaded.
--
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>