emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ANN] ob-elvish: org-babel support for Elvish code
@ 2018-03-14 11:04 Diego Zamboni
  2018-03-21  1:07 ` Bastien
  2018-04-08 17:30 ` Diego Zamboni
  0 siblings, 2 replies; 4+ messages in thread
From: Diego Zamboni @ 2018-03-14 11:04 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 548 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] ob-elvish: org-babel support for Elvish code
  2018-03-14 11:04 [ANN] ob-elvish: org-babel support for Elvish code Diego Zamboni
@ 2018-03-21  1:07 ` Bastien
  2018-03-22 14:49   ` Diego Zamboni
  2018-04-08 17:30 ` Diego Zamboni
  1 sibling, 1 reply; 4+ messages in thread
From: Bastien @ 2018-03-21  1:07 UTC (permalink / raw)
  To: Diego Zamboni; +Cc: Org-mode

Hi Diego,

Diego Zamboni <diego@zzamboni.org> writes:

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

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

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] ob-elvish: org-babel support for Elvish code
  2018-03-21  1:07 ` Bastien
@ 2018-03-22 14:49   ` Diego Zamboni
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Zamboni @ 2018-03-22 14:49 UTC (permalink / raw)
  To: Bastien; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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 <bzg@gnu.org> wrote:

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

[-- Attachment #2: Type: text/html, Size: 1389 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] ob-elvish: org-babel support for Elvish code
  2018-03-14 11:04 [ANN] ob-elvish: org-babel support for Elvish code Diego Zamboni
  2018-03-21  1:07 ` Bastien
@ 2018-04-08 17:30 ` Diego Zamboni
  1 sibling, 0 replies; 4+ messages in thread
From: Diego Zamboni @ 2018-04-08 17:30 UTC (permalink / raw)
  To: Org-mode; +Cc: Diego Zamboni

[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]

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 <diego@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
> 


[-- Attachment #2: Type: text/html, Size: 2677 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-08 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-14 11:04 [ANN] ob-elvish: org-babel support for Elvish code Diego Zamboni
2018-03-21  1:07 ` Bastien
2018-03-22 14:49   ` Diego Zamboni
2018-04-08 17:30 ` Diego Zamboni

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).