[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shouldn't ob-shell's org-babel-expand-src-block prepend the :shebang
From: |
Bastien |
Subject: |
Re: Shouldn't ob-shell's org-babel-expand-src-block prepend the :shebang value? |
Date: |
Sat, 05 Sep 2020 07:00:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Vladimir,
Vladimir Nikishkin <lockywolf@gmail.com> writes:
> I use C-c C-v C-v quite often to check the final file produced.
> I use ob-shell with the :shebang of "#!/usr/bin/chibi-scheme", because
> my code is actually scheme-script, and I need to use :stdin, which
> isn't supported by ob-scheme and geiser. (And geiser also has some not
> inconveniences).
>
> However, when I expand the block, the shebang line is not added to the
> top. The top line could also be potentially used for file type
> detection, and what is also annoying, errors reported by the
> interpreter are off by 1 (due to the missing first line).
can you share your suggestion as a patch? It will be easier to read
it and evaluate its relevance. If you need directions on how to share
a patch, let us know.
Thanks!
--
Bastien
- Re: Shouldn't ob-shell's org-babel-expand-src-block prepend the :shebang value?,
Bastien <=