emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Org 9.6-pre and Bash sessions


From: Michael Welle
Subject: Re: Org 9.6-pre and Bash sessions
Date: Thu, 13 Oct 2022 19:07:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hello,

Rudolf Adamkovič <salutis@me.com> writes:

> Hello there!
>
> I noticed today that Bash source blocks with ':session" does not seem to
> work with Org 9.6-pre (3e8648775).  Does anyone else have the problem?
funnily I observed something similar while generating semester projects
for my students.

Example:

#+name: seprj_conf_table
| xxxzwei | 234 2bar        |
| xxxeins | 2342bar         |
| xxxdrei | aaaa${eins}bbbb |

#+begin_src sh :session foo :var conf=seprj_conf_table :separator =
  IFS=$'^\n\t'
  for val in "$conf" ; do
    eval "export '$val'"
  done
  env |grep xxx
#+end_src

With main this hangs until C-g. I have an other machine with a little bit
older Org:

commit 9b62bcc9c60302467d1d45b6c240057e80fce656 (HEAD)
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date:   Sat Sep 24 15:17:23 2022 +0200

    Backport commit 8dacd8cd9 from Emacs

That works as expected. So I guess the regression was introduced within
the last week or two.

Regards
hmw



reply via email to

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