Hi,

My ob-elvish module has been working well for me, but I was thinking if the 
best would be to make ob-shell work with elvish instead of having a whole 
separate library for it. I tried adding “elvish” to org-babel-shell-names, and 
it seems to get recognized OK as a shell name, but execution of code blocks 
fails. I get an empty RESULTS block and the following messages:

executing Elvish code block...
Wrote 
/var/folders/h0/rh70xwd16913g_2lg0rx9_300320w3/T/babel-37847fAl/ob-input-37847AFC
Error reading results: (beginning-of-buffer)
Code block produced no output.

This happens even for really simple blocks, e.g.:

#+begin_src elvish
echo "hi"
#+end_src

Before I go looking in the code, I was wondering if anyone can tell if I’m 
missing anything obvious - I just added “elvish” to org-babel-shell-names. 
Since “fish” works fine, I assume a POSIX shell is not expected, but maybe 
there is something else that ob-shell is assuming?

Thanks!
—Diego


> On 14 Mar 2018, at 12:04, Diego Zamboni <di...@zzamboni.org> wrote:
> 
> Hi,
> 
> I'm happy to announce my ob-elvish package which allows running Elvish shell 
> code (https://elvish.io/ <https://elvish.io/>) from within an org-mode buffer 
> using org-babel.
> 
> If you want to take a look: https://github.com/zzamboni/ob-elvish 
> <https://github.com/zzamboni/ob-elvish>
> 
> It's not on ELPA yet, I will submit it soon.
> 
> Feedback welcome!
> 
> --Diego
> 

Reply via email to