From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: [ANN] ob-elvish: org-babel support for Elvish code Date: Wed, 14 Mar 2018 12:04:35 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d1bde37445005675d57fc" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ew4D3-0003Ew-V2 for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 07:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ew4Cz-0007Uz-TR for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 07:04:41 -0400 Received: from mail-ot0-x230.google.com ([2607:f8b0:4003:c0f::230]:35210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ew4Cz-0007Uj-Nt for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 07:04:37 -0400 Received: by mail-ot0-x230.google.com with SMTP id r30-v6so2815067otr.2 for ; Wed, 14 Mar 2018 04:04:37 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-mode --001a113d1bde37445005675d57fc Content-Type: text/plain; charset="UTF-8" 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 --001a113d1bde37445005675d57fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm happy to announce my ob-elv= ish package which allows running Elvish shell code (https://elvish.io/) from within an org-mode buffer using org-ba= bel.

If you want to take a look:=C2=A0https://github.com/zzamboni/ob-elvish=

It's not on ELPA yet, I will submit it so= on.

Feedback welcome!

--D= iego

--001a113d1bde37445005675d57fc-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [ANN] ob-elvish: org-babel support for Elvish code Date: Wed, 21 Mar 2018 02:07:19 +0100 Message-ID: <87lgem5j94.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eySDt-0002V5-JN for emacs-orgmode@gnu.org; Tue, 20 Mar 2018 21:07:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eySDp-0003B6-MR for emacs-orgmode@gnu.org; Tue, 20 Mar 2018 21:07:25 -0400 In-Reply-To: (Diego Zamboni's message of "Wed, 14 Mar 2018 12:04:35 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Diego Zamboni Cc: Org-mode Hi Diego, Diego Zamboni writes: > If you want to take a look:=C2=A0https://github.com/zzamboni/ob-elvish I didn't know Elvish... thanks for contributing this! --=20 Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: [ANN] ob-elvish: org-babel support for Elvish code Date: Thu, 22 Mar 2018 15:49:34 +0100 Message-ID: References: <87lgem5j94.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000088ac170568016ac6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez1XA-0005lh-F6 for emacs-orgmode@gnu.org; Thu, 22 Mar 2018 10:49:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez1X7-0000Xr-6H for emacs-orgmode@gnu.org; Thu, 22 Mar 2018 10:49:40 -0400 Received: from mail-ot0-x232.google.com ([2607:f8b0:4003:c0f::232]:34543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ez1X6-0000WF-O3 for emacs-orgmode@gnu.org; Thu, 22 Mar 2018 10:49:36 -0400 Received: by mail-ot0-x232.google.com with SMTP id m7-v6so9730306otd.1 for ; Thu, 22 Mar 2018 07:49:36 -0700 (PDT) In-Reply-To: <87lgem5j94.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: Org-mode --00000000000088ac170568016ac6 Content-Type: text/plain; charset="UTF-8" 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 > --00000000000088ac170568016ac6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bastien,

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

If you are interested, here's my config file, which y= ou can use as a starting point or for examples (written with org-mode of co= urse):=C2=A0https://github.com/zzamboni/dot-elvish/blob/master/rc.org
<= div>
Best regards,
--Diego


On Wed, Mar 21,= 2018 at 2:07 AM, Bastien <bzg@gnu.org> wrote:
Hi Diego,

Diego Zamboni <diego@zzamboni.org<= /a>> writes:

> If you want to take a look:=C2=A0
https://github.com/z= zamboni/ob-elvish

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

--
=C2=A0Bastien

--00000000000088ac170568016ac6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: [ANN] ob-elvish: org-babel support for Elvish code Date: Sun, 8 Apr 2018 19:30:04 +0200 Message-ID: <5ED0B25C-3B23-45B1-8263-EEDE2679C7D6@zzamboni.org> References: Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_B36313C9-5EB5-41A4-8F4C-20A011E69B59" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5E91-0001UM-5r for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 13:30:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5E8x-0004b9-P6 for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 13:30:23 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:39878) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5E8x-0004aV-DR for emacs-orgmode@gnu.org; Sun, 08 Apr 2018 13:30:19 -0400 Received: by mail-wm0-x233.google.com with SMTP id f125so11557067wme.4 for ; Sun, 08 Apr 2018 10:30:18 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-mode Cc: Diego Zamboni --Apple-Mail=_B36313C9-5EB5-41A4-8F4C-20A011E69B59 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 =E2=80=9Celvish=E2=80=9D = 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-3= 7847AFC 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=E2=80=99m missing anything obvious - I just added =E2=80=9Celvish=E2=80=9D= to org-babel-shell-names. Since =E2=80=9Cfish=E2=80=9D works fine, I = assume a POSIX shell is not expected, but maybe there is something else = that ob-shell is assuming? Thanks! =E2=80=94Diego > On 14 Mar 2018, at 12:04, Diego Zamboni wrote: >=20 > Hi, >=20 > 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. >=20 > If you want to take a look: https://github.com/zzamboni/ob-elvish = >=20 > It's not on ELPA yet, I will submit it soon. >=20 > Feedback welcome! >=20 > --Diego >=20 --Apple-Mail=_B36313C9-5EB5-41A4-8F4C-20A011E69B59 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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 =E2=80=9Celvish=E2=80=9D = 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-3= 7847AFC
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=E2=80=99m missing anything obvious - I just added = =E2=80=9Celvish=E2=80=9D to org-babel-shell-names. Since =E2=80=9Cfish=E2=80= =9D works fine, I assume a POSIX shell is not expected, but maybe there = is something else that ob-shell is assuming?

Thanks!
=E2=80=94Diego


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/) = 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


= --Apple-Mail=_B36313C9-5EB5-41A4-8F4C-20A011E69B59--