Re: [O] [ANN] ob-elvish: org-babel support for Elvish code

2018-04-08 Thread Diego Zamboni
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  wrote:
> 
> Hi,
> 
> I'm happy to announce my ob-elvish package which allows running Elvish shell 
> code (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 
> 
> 
> It's not on ELPA yet, I will submit it soon.
> 
> Feedback welcome!
> 
> --Diego
> 



Re: [O] [ANN] ob-elvish: org-babel support for Elvish code

2018-03-22 Thread Diego Zamboni
Hi Bastien,

Elvish is still little known, but extremely nice and powerful. It has been
my shell of choice for a few months now, and I'm always happy to let others
know about it.

If you are interested, here's my config file, which you can use as a
starting point or for examples (written with org-mode of course):
https://github.com/zzamboni/dot-elvish/blob/master/rc.org

Best regards,
--Diego


On Wed, Mar 21, 2018 at 2:07 AM, Bastien  wrote:

> Hi Diego,
>
> Diego Zamboni  writes:
>
> > If you want to take a look: https://github.com/zzamboni/ob-elvish
>
> I didn't know Elvish... thanks for contributing this!
>
> --
>  Bastien
>


Re: [O] [ANN] ob-elvish: org-babel support for Elvish code

2018-03-20 Thread Bastien
Hi Diego,

Diego Zamboni  writes:

> If you want to take a look: https://github.com/zzamboni/ob-elvish

I didn't know Elvish... thanks for contributing this!

-- 
 Bastien