From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Fri, 9 Jun 2017 08:43:54 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11469ea258e8fb05517c450f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ82N-0000DL-OG for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 20:44:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJ82M-0004sY-LF for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 20:44:27 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:38672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJ82M-0004rX-EK for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 20:44:26 -0400 Received: by mail-wm0-x236.google.com with SMTP id n195so40723143wmg.1 for ; Thu, 08 Jun 2017 17:44:26 -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 --001a11469ea258e8fb05517c450f Content-Type: text/plain; charset="UTF-8" Here is my branch https://github.com/stardiviner/org-mode/tree/feature/ob-sclang Merge this branch? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --001a11469ea258e8fb05517c450f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Merge this bra= nch?

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint= =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.g= ithub.io/
--001a11469ea258e8fb05517c450f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 10 Jun 2017 10:17:18 +0200 Message-ID: <87ink4z27l.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJbaG-0002GG-3d for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 04:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJbaF-0002AX-6u for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 04:17:24 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:35452) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dJbaF-0002AP-0j for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 04:17:23 -0400 In-Reply-To: (numbchild@gmail.com's message of "Fri, 9 Jun 2017 08:43:54 +0800") 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: "numbchild@gmail.com" Cc: Org-mode Hello, "numbchild@gmail.com" writes: > Here is my branch > https://github.com/stardiviner/org-mode/tree/feature/ob-sclang > Merge this branch? Thank you for your work. I'd like to refrain more packages to contrib, unless the intent is to eventually merge them into core later. However, I think this can go into core. Would you like to clean it up a bit, activate lexical-binding, provide some tests, and send a patch (using git format-patch)? You will need to sign FSF papers to do that, if you haven't done already. If you are willing to do this, we can also move your library to "contrib/" temporarily. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 11 Jun 2017 10:02:02 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1144e55c7bf9110551a598ed" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJsD9-0003Y2-CX for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 22:02:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJsD8-00057M-1p for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 22:02:39 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:36574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJsD7-00056y-NY for emacs-orgmode@gnu.org; Sat, 10 Jun 2017 22:02:37 -0400 Received: by mail-wr0-x230.google.com with SMTP id v111so64607733wrc.3 for ; Sat, 10 Jun 2017 19:02:34 -0700 (PDT) In-Reply-To: <87ink4z27l.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode --001a1144e55c7bf9110551a598ed Content-Type: text/plain; charset="UTF-8" Yeah, I have used to contrib to org-mode, but need to sign FSF papers spend my time, and I don't know how. So I decide to move code in `contrib/`. When I back home, I will try to sign FSF papers, because I have time and fixed location. If I move code into `contrib/`, do I need to do more in this code? I will add `lexical-binding`, but don't know how to write test for this. Could org-mode team pull branch code on my github repo directory? Or should I send a patch from `git format-patch`? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Jun 10, 2017 at 4:17 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > Here is my branch > > https://github.com/stardiviner/org-mode/tree/feature/ob-sclang > > Merge this branch? > > Thank you for your work. > > I'd like to refrain more packages to contrib, unless the intent is to > eventually merge them into core later. > > However, I think this can go into core. Would you like to clean it up > a bit, activate lexical-binding, provide some tests, and send a patch > (using git format-patch)? > > You will need to sign FSF papers to do that, if you haven't done > already. If you are willing to do this, we can also move your library to > "contrib/" temporarily. > > Regards, > > -- > Nicolas Goaziou > --001a1144e55c7bf9110551a598ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yeah, I have used to contrib to org-mode, but need to sign= FSF papers spend my time, and I don't know how. So I decide to move co= de in `contrib/`.
When I back home, I will try to sign FSF papers, bec= ause I have time and fixed location.
If I move code into `contrib/`, d= o I need to do more in this code?
I will add `lexical-binding`, but = don't know how to write test for this.
Could org-mode team pull br= anch code on my github repo directory? Or should I send a patch from `git f= ormat-patch`?

=
[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint= =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.g= ithub.io/

On Sat, Jun 10, 2017 at 4:17 PM, Nicolas Goa= ziou <mail@nicolasgoaziou.fr> wrote:
Hello,

"numbchild@gmail.com" = <numbchild@gmail.com> writ= es:

> Here is my branch
> https://github.com/stardivin= er/org-mode/tree/feature/ob-sclang
> Merge this branch?

Thank you for your work.

I'd like to refrain more packages to contrib, unless the intent is to eventually merge them into core later.

However, I think this can go into core. Would you like to clean it up
a bit, activate lexical-binding, provide some tests, and send a patch
(using git format-patch)?

You will need to sign FSF papers to do that, if you haven't done
already. If you are willing to do this, we can also move your library to "contrib/" temporarily.

Regards,

--
Nicolas Goaziou

--001a1144e55c7bf9110551a598ed-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Wed, 14 Jun 2017 16:02:53 +0200 Message-ID: <87y3suis4y.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL8t0-0006yu-MD for emacs-orgmode@gnu.org; Wed, 14 Jun 2017 10:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL8sw-0000OH-NX for emacs-orgmode@gnu.org; Wed, 14 Jun 2017 10:03:06 -0400 In-Reply-To: (numbchild@gmail.com's message of "Sun, 11 Jun 2017 10:02:02 +0800") 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: "numbchild@gmail.com" Cc: Bastien Guerry , Org-mode Hello, "numbchild@gmail.com" writes: > Yeah, I have used to contrib to org-mode, but need to sign FSF papers spend > my time, and I don't know how. See , in particular "Copyright issues when contributing to Emacs Org mode". > So I decide to move code in `contrib/`. > When I back home, I will try to sign FSF papers, because I have time and > fixed location. > If I move code into `contrib/`, do I need to do more in this code? If you we move it into "contrib/" until FSF papers are ready, you need to have access to repository. Thus, you will be able to update the library whenever you see fit. I'm Cc'ing Bastien about it. > I will add `lexical-binding`, but don't know how to write test for > this. You don't need to write a test for that. > Could org-mode team pull branch code on my github repo directory? Or should > I send a patch from `git format-patch`? Please send a patch. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 08:21:04 +0200 Message-ID: <8760fxn54f.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLO9a-0002pb-Lw for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 02:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLO9a-0003L3-0L for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 02:21:14 -0400 In-Reply-To: <87y3suis4y.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 14 Jun 2017 16:02:53 +0200") 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: Nicolas Goaziou Cc: Org-mode Hi, if you need commit access to org-mode to add code to contrib/, please send me your public key (the one in ~/.ssh/id...). Best, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 15:53:02 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <8760fxn54f.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1145bd401be8a60551faf7f0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLPb0-00050D-Rc for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 03:53:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPaz-0002Qb-Qa for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 03:53:38 -0400 In-Reply-To: <8760fxn54f.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --001a1145bd401be8a60551faf7f0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable @Bastien my SSH public key is: ``` ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1WzQnEx0Cf/bpeqfuXVTLXza2jtRTDNYzIg= ZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsiMFc3j2dnxLWzRCQfVi7DhPJ/VfgyyL= 4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9GEz5ycqgW3D5lp60TE/sYCcSTlhRvenJY= TcFr1+KFFIGPps5yMayyIZQgEumqln7z7Ar+xz3wA2FKRqbkv1DtaTJj9SbE1MFSYcSel8sX7kI= w6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUjSSA/VNEfdm0JKLRl1tEBCOOZ/all7R /home/stardiviner/.ssh/id_rsa ``` [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 15, 2017 at 2:21 PM, Bastien Guerry wrote: > Hi, > > if you need commit access to org-mode to add code to contrib/, > please send me your public key (the one in ~/.ssh/id...). > > Best, > > -- > Bastien > --001a1145bd401be8a60551faf7f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
@Bastien my SSH public key is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1WzQnEx0Cf/bpeqfuXVTLX= za2jtRTDNYzIgZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsiMFc3j2dnxLWzRCQfV= i7DhPJ/VfgyyL4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9GEz5ycqgW3D5lp60TE/s= YCcSTlhRvenJYTcFr1+KFFIGPps5yMayyIZQgEumqln7z7Ar+xz3wA2FKRqbkv1DtaTJj9SbE1M= FSYcSel8sX7kIw6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUjSSA/VNEfdm0JKLRl1tEB= COOZ/all7R /home/stardiviner/.ssh/id_rsa
```

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C3= 2433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36= =C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
=

On Thu, Jun 15, 2017 at 2:21 PM, Bastien Gue= rry <= bzg@gnu.org> wrote:
Hi,

if you need commit access to org-mode to add code to contrib/,
please send me your public key (the one in ~/.ssh/id...).

Best,

--
=C2=A0Bastien

--001a1145bd401be8a60551faf7f0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 15:56:09 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <8760fxn54f.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045f581a4884d40551fb025f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLPe1-0006tu-5e for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 03:56:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLPdz-0003Fd-VR for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 03:56:45 -0400 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: Bastien Guerry Cc: Org-mode , Nicolas Goaziou --f403045f581a4884d40551fb025f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, update SSH public key: The previous message ssh public key is generated from command: `ssh-add -L`= . This one is from `cat ~/.ssh/id_rsa.pub` ``` ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1WzQnEx0Cf/bpeqfuXVTLXza2jtRTDNYzIg= ZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsiMFc3j2dnxLWzRCQfVi7DhPJ/VfgyyL= 4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9GEz5ycqgW3D5lp60TE/sYCcSTlhRvenJY= TcFr1+KFFIGPps5yMayyIZQgEumqln7z7Ar+xz3wA2FKRqbkv1DtaTJj9SbE1MFSYcSel8sX7kI= w6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUjSSA/VNEfdm0JKLRl1tEBCOOZ/all7R stardiviner@dark ``` [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 15, 2017 at 3:53 PM, numbchild@gmail.com wrote: > @Bastien my SSH public key is: > ``` > ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1WzQnEx0Cf/ > bpeqfuXVTLXza2jtRTDNYzIgZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsi > MFc3j2dnxLWzRCQfVi7DhPJ/VfgyyL4tv3LkMbx7vzOUlRJrIRWsnn > xiY31rx5xaJbKiF8t9GEz5ycqgW3D5lp60TE/sYCcSTlhRvenJYTcFr1+ > KFFIGPps5yMayyIZQgEumqln7z7Ar+xz3wA2FKRqbkv1DtaTJj9SbE1MFSYc > Sel8sX7kIw6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUjSSA/VNEfdm0JKLRl1tEBCO= OZ/all7R > /home/stardiviner/.ssh/id_rsa > ``` > > [stardiviner] GPG key ID: 47C32433 > IRC(freeenode): stardiviner Twitter: @numbchild > Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 > Blog: http://stardiviner.github.io/ > > On Thu, Jun 15, 2017 at 2:21 PM, Bastien Guerry wrote: > >> Hi, >> >> if you need commit access to org-mode to add code to contrib/, >> please send me your public key (the one in ~/.ssh/id...). >> >> Best, >> >> -- >> Bastien >> > > --f403045f581a4884d40551fb025f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, update SSH public key:
This one is from `cat ~/.ssh/id_rsa.pub`
```
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1W= zQnEx0Cf/bpeqfuXVTLXza2jtRTDNYzIgZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BN= YsiMFc3j2dnxLWzRCQfVi7DhPJ/VfgyyL4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9= GEz5ycqgW3D5lp60TE/sYCcSTlhRvenJYTcFr1+KFFIGPps5yMayyIZQgEumqln7z7Ar+xz3wA2= FKRqbkv1DtaTJj9SbE1MFSYcSel8sX7kIw6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUj= SSA/VNEfdm0JKLRl1tEBCOOZ/all7R stardiviner@dark
```=C2=A0<= /div>

<= div dir=3D"ltr">[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG = key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDD= D B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Thu, Jun 15, 2017 at 3:53 PM, numbchild@gmail.com <<= a href=3D"mailto:numbchild@gmail.com" target=3D"_blank">numbchild@gmail.com= > wrote:
<= div class=3D"gmail_default" style=3D"font-family:"trebuchet ms",s= ans-serif">@Bastien my SSH public key is:
```
ssh-rsa AAAAB= 3NzaC1yc2EAAAADAQABAAABAQDIXnylmZoh1WzQnEx0Cf/bpeqfuXVTLXza2jtRTD= NYzIgZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsiMFc3j2dnxL= WzRCQfVi7DhPJ/VfgyyL4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9GEz= 5ycqgW3D5lp60TE/sYCcSTlhRvenJYTcFr1+KFFIGPps5yMayyIZQgEumqln7z7Ar= +xz3wA2FKRqbkv1DtaTJj9SbE1MFSYcSel8sX7kIw6Xzze5UMTgFjIEavIMN2LMsvwGdrgI98em+dtjXUjSSA/VNEfdm0JKLRl1tEBCOOZ/all7R /home/stardiviner= /.ssh/id_rsa
```

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key= ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B= 9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Thu, Jun 15= , 2017 at 2:21 PM, Bastien Guerry <bzg@gnu.org> wrote:
Hi,

if you need commit access to org-mode to add code to contrib/,
please send me your public key (the one in ~/.ssh/id...).

Best,

--
=C2=A0Bastien


--f403045f581a4884d40551fb025f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 10:26:07 +0200 Message-ID: <87bmppmzc0.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <8760fxn54f.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLQ6b-0004YQ-CE for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 04:26:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLQ6a-0004Y5-QC for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 04:26:17 -0400 In-Reply-To: (numbchild@gmail.com's message of "Thu, 15 Jun 2017 15:56:09 +0800") 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: "numbchild@gmail.com" Cc: Org-mode , Nicolas Goaziou "numbchild@gmail.com" writes: > Sorry, update SSH public key: Please resend it as an attachment in a private email. Thanks, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 19:14:58 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a11478d904c171f0551fdc9f6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLSkP-0004r4-Fa for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 07:15:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLSkM-0006fP-UT for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 07:15:33 -0400 In-Reply-To: <87y3suis4y.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Bastien Guerry , Org-mode --001a11478d904c171f0551fdc9f6 Content-Type: multipart/alternative; boundary="001a11478d904c171b0551fdc9f4" --001a11478d904c171b0551fdc9f4 Content-Type: text/plain; charset="UTF-8" Here is the patch #+BEGIN_SRC diff >From 8bea0293ae22046bd4878a0ef9add5acd074bfde Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 8 Jun 2017 18:24:53 +0800 Subject: [PATCH] add ob-sclang for sclang Org-mode babel support --- contrib/lisp/ob-sclang.el | 102 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 contrib/lisp/ob-sclang.el diff --git a/contrib/lisp/ob-sclang.el b/contrib/lisp/ob-sclang.el new file mode 100644 index 000000000..763799533 --- /dev/null +++ b/contrib/lisp/ob-sclang.el @@ -0,0 +1,102 @@ +;;; ob-sclang.el --- SCLang support for Org-mode Babel -*- lexical-binding: t; -*- +;;; -*- coding: utf-8 -*- + +;; Copyright (C) 2011-2017 Free Software Foundation, Inc. + +;; Authors: stardiviner +;; Package-Version: 0.1 +;; Keywords: babel sclang + +;; This file is not part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Commentary: + +;; `ob-sclang' requires `sclang-interp' from SuperCollider. +;; Usually SuperCollider dependencies for Emacs are at /usr/share/emacs/site-lisp/SuperCollider/ +;; You can install SuperCollider following this article: +;; https://github.com/supercollider/supercollider#building-the-source-code + +;; Usage: + +;; Support to evaluate sclang Org-mode src block with function `sclang-eval-string'. + +;; For example: + +;; #+BEGIN_SRC sclang :results none +;; "Hello World".postln; +;; #+END_SRC +;; +;; *NOTE* Temporary output to org-babel result output is not supported. +;; Because `sclang-eval-string' will send output to Sclang Post Buffer. +;; And command line `sclang' execute will not automatically stop after finished execution. +;; +;; #+BEGIN_SRC sclang :results none +;; // modulate a sine frequency and a noise amplitude with another sine +;; // whose frequency depends on the horizontal mouse pointer position +;; { +;; var x = SinOsc.ar(MouseX.kr(1, 100)); +;; SinOsc.ar(300 * x + 800, 0, 0.1) +;; + +;; PinkNoise.ar(0.1 * x + 0.1) +;; }.play; +;; #+END_SRC + + +;;; Code: +;;; ---------------------------------------------------------------------------- +(require 'org) +(require 'ob) + +(require 'sclang-interp) + +(defgroup ob-sclang nil + "org-mode blocks for SuperCollider SCLang." + :group 'org) + +;;;###autoload +(defun org-babel-execute:sclang (body params) + "Org-mode Babel sclang hook for evaluate `BODY' with `PARAMS'." + (unless (or (equal (buffer-name) sclang-post-buffer) + (sclang-get-process)) + (sclang-start)) + + ;; (let* ((db (or (cdr (assoc :db params)) + ;; ob-mongo:default-db)) + ;; (cmd (mapconcat 'identity (list "mongo" "--quiet" db) " "))) + ;; (org-babel-eval cmd body)) + + (sclang-eval-string body t) + + ;; (let ((cmd "sclang -r -s -D")) + ;; (org-babel-eval cmd body)) + ) + +(defvar org-babel-default-header-args:sclang nil) + +(setq org-babel-default-header-args:sclang + '((:session . "*SCLang:Workspace*") + (:output . "none")) ; TODO: temporary can't find way to let sclang output to stdout for org-babel. + ) + +;;;###autoload +(with-eval-after-load "org" + (add-to-list 'org-src-lang-modes '("sclang" . sclang))) + +;;; ---------------------------------------------------------------------------- + +(provide 'ob-sclang) + +;;; ob-sclang.el ends here -- 2.13.1 #+END_SRC [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Jun 14, 2017 at 10:02 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > Yeah, I have used to contrib to org-mode, but need to sign FSF papers > spend > > my time, and I don't know how. > > See , in particular > "Copyright issues when contributing to Emacs Org mode". > > > So I decide to move code in `contrib/`. > > When I back home, I will try to sign FSF papers, because I have time and > > fixed location. > > > If I move code into `contrib/`, do I need to do more in this code? > > If you we move it into "contrib/" until FSF papers are ready, you need > to have access to repository. Thus, you will be able to update the > library whenever you see fit. I'm Cc'ing Bastien about it. > > > I will add `lexical-binding`, but don't know how to write test for > > this. > > You don't need to write a test for that. > > > Could org-mode team pull branch code on my github repo directory? Or > should > > I send a patch from `git format-patch`? > > Please send a patch. > > Regards, > > -- > Nicolas Goaziou > --001a11478d904c171b0551fdc9f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Here is the patch

<= div class=3D"gmail_default" style=3D"font-family:"trebuchet ms",s= ans-serif">#+BEGIN_SRC diff
From 8bea0293ae2204= 6bd4878a0ef9add5acd074bfde Mon Sep 17 00:00:00 2001
From: stardivine= r <numbchild@gmail.com>
Date: Thu, 8 Jun 2017 18:24:53 +0800
Subject: [PATCH] add ob-scla= ng for sclang Org-mode babel support

---
=C2=A0contr= ib/lisp/ob-sclang.el | 102 ++++++++++++++++++++++++++++++++++++++++++++++
=C2=A01 file changed, 102 insertions(+)
=C2=A0create mode 100644= contrib/lisp/ob-sclang.el

diff --git a/contrib/lisp/ob-sc= lang.el b/contrib/lisp/ob-sclang.el
new file mode 100644
=
index = 000000000..763799533
--- /dev/null
+++ b/contrib/lisp/ob-sclang= .el
@@ -0,0 +1,102 @@
+;;; ob-sclang.el --- SCLang support for = Org-mode Babel -*- lexical-binding: t; -*-
+;;; -*- coding: utf-8 -*-=
+
+;; Copyright (C) 2011-2017 Free Software Foundation, Inc.
+
+;; Authors: stardiviner <numbchild@gmail.com>
= +;; Package-Version: 0.1
+;; = Keywords: babel sclang
+
+;; This file is not part of GNU Emac= s.
+
+;; GNU Emacs is free software: you can redistribute it an= d/or modify
+;; it under the terms of the GNU General Public License = as published by
+;; the Free Software Foundation, either version 3 of= the License, or
+;; (at your option) any later version.
=
+
+;= ; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; = MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See the
+;= ; GNU General Public License for more details.
+
+;; You should= have received a copy of the GNU General Public License
+;; along wit= h GNU Emacs.=C2=A0 If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; `ob-sclang' requires `sclang-interp' from SuperCollide= r.
+;; Usually SuperCollider dependencies for Emacs are at /usr/share= /emacs/site-lisp/SuperCollider/
+;; You can install SuperCollider fol= lowing this article:
+
+;; Usage:
+
+;; Support to evaluate sclang Org-mode src block with function `sclan= g-eval-string'.
+
+;; For example:
+
+;; #+BE= GIN_SRC sclang :results none
+;; "Hello World".postln;
+;;
+;; *NOTE* Temporary output to org-babel re= sult output is not supported.
+;; Because `sclang-eval-string' wi= ll send output to Sclang Post Buffer.
+;; And command line `sclang= 9; execute will not automatically stop after finished execution.
+;;<= /font>
+;; #+BEGIN_SRC sclang :results none
+;; // modulate a sine fre= quency and a noise amplitude with another sine
+;; // whose frequency= depends on the horizontal mouse pointer position
+;; {
<= div class=3D"gmail_default">+;; var= x =3D SinOsc.ar(MouseX.kr(1, 100));
+;; SinOsc.ar(300 * x + 800, 0, = 0.1)
+;; +
+;; PinkNoise.ar(0.1 * x + 0.1)
+;; }.play;
+;; #+END_SRC
+
+
= +;;; Code:
+;;; -----------= -----------------------------------------------------------------
+(r= equire 'org)
+(require 'ob)
+
+(require 'scla= ng-interp)
+
+(defgroup ob-sclang nil
+ =C2=A0"org-m= ode blocks for SuperCollider SCLang."
+ =C2=A0:group 'org)
+
+;;;###autoload
+(defun org-babel-execute:sclang (body p= arams)
+ =C2=A0"Org-mode Babel sclang hook for evaluate `BODY= 9; with `PARAMS'."
+ =C2=A0(unless (or (equal (buffer-name) = sclang-post-buffer)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(sclang-get-process))
+ =C2=A0 =C2=A0(sclang-start))
<= div class=3D"gmail_default">+ =C2= =A0
+ =C2=A0;; (let* ((db (or (cdr (assoc :db params))
+ =C2=A0= ;; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ob-mongo:default-= db))
+ =C2=A0;; =C2=A0 =C2=A0 =C2=A0 =C2=A0(cmd (mapconcat 'ident= ity (list "mongo" "--quiet" db) " ")))=
= + =C2=A0;; =C2=A0 (org-babel-eval cmd body))
+ =C2=A0
+ =C2=A0(= sclang-eval-string body t)
+
+ =C2=A0;; (let ((cmd "sclang= -r -s -D"))
+ =C2=A0;; =C2=A0 (org-babel-eval cmd body))=
= + =C2=A0)
+
+(defvar org-babel-default-header-args:sclang nil)<= /font>
+
+(setq org-babel-default-header-args:sclang
+ =C2=A0 = =C2=A0 =C2=A0'((:session . "*SCLang:Workspace*")
=
+ =C2= =A0 =C2=A0 =C2=A0 =C2=A0(:output . "none")) ; TODO: temporary can= 't find way to let sclang output to stdout for org-babel.
<= div class=3D"gmail_default">+ =C2= =A0 =C2=A0 =C2=A0)
+
+;;;###autoload
+(with-eval-after-lo= ad "org"
+ =C2=A0(add-to-list 'org-src-lang-modes '= ("sclang" . sclang)))
+
+;;; ------------------------= ----------------------------------------------------
+
+(provid= e 'ob-sclang)
+
+;;; ob-sclang.el ends here
--=C2=A0<= /font>
2.13.1
#+END_SRC

[star= diviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Ha= ck this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IR= C(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:= =C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB9= 9 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Wed, Jun 14, 2017 at 10:02 PM, Nicolas Go= aziou <mail@nicolasgoaziou.fr> wrote:
Hello,

"numbchild@gmail.com" = <numbchild@gmail.com> writ= es:

> Yeah, I have used to contrib to org-mode, but need to sign FSF papers = spend
> my time, and I don't know how.

See <http://orgmode.org/worg/org-contribu= te.html>, in particular
"Copyright issues when contributing to Emacs Org mode".

> So I decide to move code in `contrib/`.
> When I back home, I will try to sign FSF papers, because I have time a= nd
> fixed location.

> If I move code into `contrib/`, do I need to do more in this code?

If you we move it into "contrib/" until FSF papers are rea= dy, you need
to have access to repository. Thus, you will be able to update the
library whenever you see fit. I'm Cc'ing Bastien about it.

> I will add `lexical-binding`, but don't know how to write test for=
> this.

You don't need to write a test for that.

> Could org-mode team pull branch code on my github repo directory? Or s= hould
> I send a patch from `git format-patch`?

Please send a patch.

Regards,

--
Nicolas Goaziou

--001a11478d904c171b0551fdc9f4-- --001a11478d904c171f0551fdc9f6 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-add-ob-sclang-for-sclang-Org-mode-babel-support.patch" Content-Disposition: attachment; filename="0001-add-ob-sclang-for-sclang-Org-mode-babel-support.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j3ybv8ge0 RnJvbSA4YmVhMDI5M2FlMjIwNDZiZDQ4NzhhMGVmOWFkZDVhY2QwNzRiZmRlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBzdGFyZGl2a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Qor ICAKKyAgKHNjbGFuZy1ldmFsLXN0cmluZyBib2R5IHQpCisKKyAgOzsgKGxldCAoKGNtZCAic2Ns YW5nIC1yIC1zIC1EIikpCisgIDs7ICAgKG9yZy1iYWJlbC1ldmFsIGNtZCBib2R5KSkKKyAgKQor CisoZGVmdmFyIG9yZy1iYWJlbC1kZWZhdWx0LWhlYWRlci1hcmdzOnNjbGFuZyBuaWwpCisKKyhz ZXRxIG9yZy1iYWJlbC1kZWZhdWx0LWhlYWRlci1hcmdzOnNjbGFuZworICAgICAgJygoOnNlc3Np b24gLiAiKlNDTGFuZzpXb3Jrc3BhY2UqIikKKyAgICAgICAgKDpvdXRwdXQgLiAibm9uZSIpKSA7 IFRPRE86IHRlbXBvcmFyeSBjYW4ndCBmaW5kIHdheSB0byBsZXQgc2NsYW5nIG91dHB1dCB0byBz dGRvdXQgZm9yIG9yZy1iYWJlbC4KKyAgICAgICkKKworOzs7IyMjYXV0b2xvYWQKKyh3aXRoLWV2 YWwtYWZ0ZXItbG9hZCAib3JnIgorICAoYWRkLXRvLWxpc3QgJ29yZy1zcmMtbGFuZy1tb2RlcyAn KCJzY2xhbmciIC4gc2NsYW5nKSkpCisKKzs7OyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCisKKyhwcm92 aWRlICdvYi1zY2xhbmcpCisKKzs7OyBvYi1zY2xhbmcuZWwgZW5kcyBoZXJlCi0tIAoyLjEzLjEK Cg== --001a11478d904c171f0551fdc9f6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 19:19:56 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <8760fxn54f.fsf@bzg.fr> <87bmppmzc0.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11478d9006587c0551fddb33" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLSpC-0001Dq-Kv for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 07:20:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLSpB-0000Pl-M6 for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 07:20:30 -0400 In-Reply-To: <87bmppmzc0.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --001a11478d9006587c0551fddb33 Content-Type: text/plain; charset="UTF-8" I have resend it to your privately in email attachment. Thanks. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 15, 2017 at 4:26 PM, Bastien Guerry wrote: > "numbchild@gmail.com" writes: > > > Sorry, update SSH public key: > > Please resend it as an attachment in a private email. > > Thanks, > > -- > Bastien > --001a11478d9006587c0551fddb33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have resend it to your privately in email attachment. Th= anks.

=
[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA= 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/=


--001a11478d9006587c0551fddb33-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Thu, 15 Jun 2017 14:38:24 +0200 Message-ID: <87wp8dpgsf.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLU2r-0002h7-L8 for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 08:38:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLU2m-0008PC-6P for emacs-orgmode@gnu.org; Thu, 15 Jun 2017 08:38:41 -0400 In-Reply-To: (numbchild@gmail.com's message of "Thu, 15 Jun 2017 19:14:58 +0800") 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: "numbchild@gmail.com" Cc: Org-mode , Nicolas Goaziou "numbchild@gmail.com" writes: > Here is the patch The patch needs to have a proper changelog. You can read http://orgmode.org/worg/org-contribute.html#patches carefully for details. Thanks! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 07:25:39 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a11444ab0449ea105521c1cda" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM0d7-0003mf-8e for emacs-orgmode@gnu.org; Fri, 16 Jun 2017 19:26:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dM0d5-0005Wb-5L for emacs-orgmode@gnu.org; Fri, 16 Jun 2017 19:26:17 -0400 In-Reply-To: <87wp8dpgsf.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --001a11444ab0449ea105521c1cda Content-Type: multipart/alternative; boundary="001a11444ab0449e9c05521c1cd8" --001a11444ab0449e9c05521c1cd8 Content-Type: text/plain; charset="UTF-8" I regenerated commit and patch by following changelog formats. ``` >From 9f0b5051bda5ae458242e37923ad18e3189663d9 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 8 Jun 2017 18:24:53 +0800 Subject: [PATCH] ob-sclang.el: add ob-sclang for sclang Org-mode babel support * ob-sclang.el (org-babel-execute:sclang): support evaluating sclang code in Org-mode Babel. Support sclang evaluation in Org-mode Babel. TINYCHANGE --- contrib/lisp/ob-sclang.el | 102 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 contrib/lisp/ob-sclang.el diff --git a/contrib/lisp/ob-sclang.el b/contrib/lisp/ob-sclang.el new file mode 100644 index 000000000..763799533 --- /dev/null +++ b/contrib/lisp/ob-sclang.el @@ -0,0 +1,102 @@ +;;; ob-sclang.el --- SCLang support for Org-mode Babel -*- lexical-binding: t; -*- +;;; -*- coding: utf-8 -*- + +;; Copyright (C) 2011-2017 Free Software Foundation, Inc. + +;; Authors: stardiviner +;; Package-Version: 0.1 +;; Keywords: babel sclang + +;; This file is not part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Commentary: + +;; `ob-sclang' requires `sclang-interp' from SuperCollider. +;; Usually SuperCollider dependencies for Emacs are at /usr/share/emacs/site-lisp/SuperCollider/ +;; You can install SuperCollider following this article: +;; https://github.com/supercollider/supercollider#building-the-source-code + +;; Usage: + +;; Support to evaluate sclang Org-mode src block with function `sclang-eval-string'. + +;; For example: + +;; #+BEGIN_SRC sclang :results none +;; "Hello World".postln; +;; #+END_SRC +;; +;; *NOTE* Temporary output to org-babel result output is not supported. +;; Because `sclang-eval-string' will send output to Sclang Post Buffer. +;; And command line `sclang' execute will not automatically stop after finished execution. +;; +;; #+BEGIN_SRC sclang :results none +;; // modulate a sine frequency and a noise amplitude with another sine +;; // whose frequency depends on the horizontal mouse pointer position +;; { +;; var x = SinOsc.ar(MouseX.kr(1, 100)); +;; SinOsc.ar(300 * x + 800, 0, 0.1) +;; + +;; PinkNoise.ar(0.1 * x + 0.1) +;; }.play; +;; #+END_SRC + + +;;; Code: +;;; ---------------------------------------------------------------------------- +(require 'org) +(require 'ob) + +(require 'sclang-interp) + +(defgroup ob-sclang nil + "org-mode blocks for SuperCollider SCLang." + :group 'org) + +;;;###autoload +(defun org-babel-execute:sclang (body params) + "Org-mode Babel sclang hook for evaluate `BODY' with `PARAMS'." + (unless (or (equal (buffer-name) sclang-post-buffer) + (sclang-get-process)) + (sclang-start)) + + ;; (let* ((db (or (cdr (assoc :db params)) + ;; ob-mongo:default-db)) + ;; (cmd (mapconcat 'identity (list "mongo" "--quiet" db) " "))) + ;; (org-babel-eval cmd body)) + + (sclang-eval-string body t) + + ;; (let ((cmd "sclang -r -s -D")) + ;; (org-babel-eval cmd body)) + ) + +(defvar org-babel-default-header-args:sclang nil) + +(setq org-babel-default-header-args:sclang + '((:session . "*SCLang:Workspace*") + (:output . "none")) ; TODO: temporary can't find way to let sclang output to stdout for org-babel. + ) + +;;;###autoload +(with-eval-after-load "org" + (add-to-list 'org-src-lang-modes '("sclang" . sclang))) + +;;; ---------------------------------------------------------------------------- + +(provide 'ob-sclang) + +;;; ob-sclang.el ends here -- 2.13.1 ``` [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 15, 2017 at 8:38 PM, Bastien Guerry wrote: > "numbchild@gmail.com" writes: > > > Here is the patch > > The patch needs to have a proper changelog. You can read > http://orgmode.org/worg/org-contribute.html#patches carefully > for details. > > Thanks! > > -- > Bastien > --001a11444ab0449e9c05521c1cd8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I regenerated commit and patch by following ch= angelog formats.

```
From 9f0b5051bda5ae458242e37923ad18e3189663d9 Mon Sep 17 00:00= :00 2001
Date: Thu, 8 Jun 2017 18:24:53 +0800
Subject: [PATCH] ob-sclang.el: add ob-sclang for sclang Org-mode babel s= upport

* ob-sclang.el (org-babel-execute:sclang): support = evaluating sclang
=C2=A0 code in Org-mode Babel.

Sup= port sclang evaluation in Org-mode Babel.

TINYCHANGE
---
=C2=A0contrib/lisp/ob-sclang.el | 102 ++++++++++++++++++++++++++= ++++++++++++++++++++
=C2=A01 file changed, 102 insertions(+)
= =C2=A0create mode 100644 contrib/lisp/ob-sclang.el

diff = --git a/contrib/lisp/ob-sclang.el b/contrib/lisp/ob-sclang.el
<= div class=3D"gmail_default">new fil= e mode 100644
index 000000000..763799533
--- /dev/null
++= + b/contrib/lisp/ob-sclang.el
@@ -0,0 +1,102 @@
+;;; ob-sclang.= el --- SCLang support for Org-mode Babel -*- lexical-binding: t; -*-=
= +;;; -*- coding: utf-8 -*-
+
+;; Copyright (C) 2011-2017 Free S= oftware Foundation, Inc.
+
<= font face=3D"trebuchet ms, sans-serif">+;; Authors: stardiviner <numbchild@gmail.com>
+;; Packa= ge-Version: 0.1
+;; Keywords: babel sclang
+
+;; This fil= e is not part of GNU Emacs.
+
+;; GNU Emacs is free software: y= ou can redistribute it and/or modify
+;; it under the terms of the GN= U General Public License as published by
+;; the Free Software Founda= tion, either version 3 of the License, or
+;; (at your option) any la= ter version.
+
+;; GNU Emacs is distributed in the hope that it= will be useful,
+;; but WITHOUT ANY WARRANTY; without even the impli= ed warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E.=C2=A0 See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public Li= cense
+;; along with GNU Emacs.=C2=A0 If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; `ob-sclang' requires `sclang-inte= rp' from SuperCollider.
+;; Usually SuperCollider dependencies fo= r Emacs are at /usr/share/emacs/site-lisp/SuperCollider/
+;; You can = install SuperCollider following this article:
+;; https://gi= thub.com/supercollider/supercollider#building-the-source-code
+
+;; Usage:
+
+;; Support to evaluate sclang Org-mode src b= lock with function `sclang-eval-string'.
+
+;; For example:=
+
+;; #+BEGIN_SRC sclang :results none
+;; "Hello = World".postln;
+;; #+END_SRC
+;;
+;; *NOTE* Temporar= y output to org-babel result output is not supported.
+;; Because `sc= lang-eval-string' will send output to Sclang Post Buffer.
<= div class=3D"gmail_default">+;; And= command line `sclang' execute will not automatically stop after finish= ed execution.
+;;
+;; #+BEGIN_SRC sclang :results none
+;= ; // modulate a sine frequency and a noise amplitude with another sine
+;; {
+;; var x =3D SinOsc.ar(MouseX.kr(1, 100));
+;; SinO= sc.ar(300 * x + 800, 0, 0.1)
+;; +
+;; PinkNoise.ar(0.1 * x + 0= .1)
+;; }.play;
+;; #+END_SRC
+
+
+;;; Cod= e:
+;;; -------------------------------------------------------------= ---------------
+(require 'org)
+(require 'ob)
+<= /font>
+(require 'sclang-interp)
+
+(defgroup ob-sclang nil<= /font>
+ =C2=A0"org-mode blocks for SuperCollider SCLang."<= /div>
+= =C2=A0:group 'org)
+
+;;;###autoload
+(defun org-bab= el-execute:sclang (body params)
+ =C2=A0"Org-mode Babel sclang h= ook for evaluate `BODY' with `PARAMS'."
+ =C2=A0(unless = (or (equal (buffer-name) sclang-post-buffer)
+ =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(sclang-get-process))
+ =C2=A0 =C2=A0(scla= ng-start))
+ =C2=A0
+ =C2=A0;; (let* ((db (or (cdr (assoc :db p= arams))
+ =C2=A0;; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0ob-mongo:default-db))
+ =C2=A0;; =C2=A0 =C2=A0 =C2=A0 =C2=A0(cm= d (mapconcat 'identity (list "mongo" "--quiet" db) = " ")))
+ =C2=A0;; =C2=A0 (org-babel-eval cmd body))<= /div>
+= =C2=A0
+ =C2=A0(sclang-eval-string body t)
+
+ =C2=A0;; = (let ((cmd "sclang -r -s -D"))
+ =C2=A0;; =C2=A0 (org-babel= -eval cmd body))
+ =C2=A0)
<= font face=3D"trebuchet ms, sans-serif">+
+(defvar org-babel-default-h= eader-args:sclang nil)
+
+(setq org-babel-default-header-args:= sclang
+ =C2=A0 =C2=A0 =C2=A0'((:session . "*SCLang:Workspac= e*")
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0(:output . "none")) = ; TODO: temporary can't find way to let sclang output to stdout for org= -babel.
+ =C2=A0 =C2=A0 =C2=A0)
+
+;;;###autoload<= /div>
+= (with-eval-after-load "org"
+ =C2=A0(add-to-list 'org-s= rc-lang-modes '("sclang" . sclang)))
+
+;;; ---= -------------------------------------------------------------------------
+
+(provide 'ob-sclang)
+
+;;; ob-sclang.el ends= here
--=C2=A0
2.13.1
```

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID= : 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF= 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Thu, Jun 15, 2017 at 8:38 PM, Bastien Gue= rry <= bzg@gnu.org> wrote:
"<= a href=3D"mailto:numbchild@gmail.com">numbchild@gmail.com" <numbchild@gmail.com> writes:

> Here is the patch

The patch needs to have a proper changelog.=C2=A0 You can read
http://orgmode.org/worg/org-contribute.html#= patches carefully
for details.

Thanks!

--
=C2=A0Bastien

--001a11444ab0449e9c05521c1cd8-- --001a11444ab0449ea105521c1cda Content-Type: text/x-patch; charset="US-ASCII"; name="0001-ob-sclang.el-add-ob-sclang-for-sclang-Org-mode-babel.patch" Content-Disposition: attachment; filename="0001-ob-sclang.el-add-ob-sclang-for-sclang-Org-mode-babel.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j40heqdr0 RnJvbSA5ZjBiNTA1MWJkYTVhZTQ1ODI0MmUzNzkyM2FkMThlMzE4OTY2M2Q5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBzdGFyZGl2aW5lciA8bnVtYmNoaWxkQGdtYWlsLmNvbT4KRGF0 ZTogVGh1LCA4IEp1biAyMDE3IDE4OjI0OjUzICswODAwClN1YmplY3Q6IFtQQVRDSF0gb2Itc2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gIChjbWQgKG1hcGNvbmNhdCAnaWRlbnRpdHkgKGxpc3QgIm1vbmdvIiAiLS1x dWlldCIgZGIpICIgIikpKQorICA7OyAgIChvcmctYmFiZWwtZXZhbCBjbWQgYm9keSkpCisgIAor ICAoc2NsYW5nLWV2YWwtc3RyaW5nIGJvZHkgdCkKKworICA7OyAobGV0ICgoY21kICJzY2xhbmcg LXIgLXMgLUQiKSkKKyAgOzsgICAob3JnLWJhYmVsLWV2YWwgY21kIGJvZHkpKQorICApCisKKyhk ZWZ2YXIgb3JnLWJhYmVsLWRlZmF1bHQtaGVhZGVyLWFyZ3M6c2NsYW5nIG5pbCkKKworKHNldHEg b3JnLWJhYmVsLWRlZmF1bHQtaGVhZGVyLWFyZ3M6c2NsYW5nCisgICAgICAnKCg6c2Vzc2lvbiAu ICIqU0NMYW5nOldvcmtzcGFjZSoiKQorICAgICAgICAoOm91dHB1dCAuICJub25lIikpIDsgVE9E TzogdGVtcG9yYXJ5IGNhbid0IGZpbmQgd2F5IHRvIGxldCBzY2xhbmcgb3V0cHV0IHRvIHN0ZG91 dCBmb3Igb3JnLWJhYmVsLgorICAgICAgKQorCis7OzsjIyNhdXRvbG9hZAorKHdpdGgtZXZhbC1h ZnRlci1sb2FkICJvcmciCisgIChhZGQtdG8tbGlzdCAnb3JnLXNyYy1sYW5nLW1vZGVzICcoInNj bGFuZyIgLiBzY2xhbmcpKSkKKworOzs7IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KKworKHByb3ZpZGUg J29iLXNjbGFuZykKKworOzs7IG9iLXNjbGFuZy5lbCBlbmRzIGhlcmUKLS0gCjIuMTMuMQoK --001a11444ab0449ea105521c1cda-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 12:53:50 +0200 Message-ID: <87fuey28ch.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMBMc-0008LQ-PQ for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 06:53:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMBMc-0002ys-6J for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 06:53:58 -0400 In-Reply-To: (numbchild@gmail.com's message of "Sat, 17 Jun 2017 07:25:39 +0800") 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: "numbchild@gmail.com" Cc: Org-mode , Nicolas Goaziou Applied, thanks! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 20:23:33 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045cf7ce3dabfc055226fa56" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMCls-0002Bt-24 for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 08:24:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMClr-0004X2-5x for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 08:24:08 -0400 In-Reply-To: <87fuey28ch.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --f403045cf7ce3dabfc055226fa56 Content-Type: text/plain; charset="UTF-8" Did my SSH public key add to org-mode repository? After added, if I want to update my `ob-sclang.el`. Command `git push upstream` (upstream: git://orgmode.org/org-mode.git) will allow my access? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Jun 17, 2017 at 6:53 PM, Bastien Guerry wrote: > Applied, thanks! > > -- > Bastien > --f403045cf7ce3dabfc055226fa56 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Did my SSH public key add to org-mode reposito= ry?
After added, if I want to update my `ob-sclang.el`. Co= mmand `git push upstream` (upstream:=C2=A0git://orgmode.org/org-mode.git) will allow my access?
<= /div>

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID= : 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF= 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Sat, Jun 17, 2017 at 6:53 PM, Bastien Gue= rry <= bzg@gnu.org> wrote:
Applied= , thanks!

--
=C2=A0Bastien

--f403045cf7ce3dabfc055226fa56-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 14:46:07 +0200 Message-ID: <87y3sqzss0.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMD7J-0006YD-PO for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 08:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMD7J-0006eZ-57 for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 08:46:17 -0400 In-Reply-To: (numbchild@gmail.com's message of "Sat, 17 Jun 2017 20:23:33 +0800") 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: "numbchild@gmail.com" Cc: Org-mode , Nicolas Goaziou "numbchild@gmail.com" writes: > Did my SSH public key add to org-mode repository? Now yes. You first need to pull org-mode again like this: ~$ git clone orgmode@orgmode.org:org-mode.git Then you will be able to push commits. Do not commit changes outside of the contrib/ repository. If you have signed the FSF copyright papers, please let me know under what name. Best, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 21:14:27 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87y3sqzss0.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11478d904a834c055227b044" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMDZ8-00054K-Px for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 09:15:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMDZ7-00036u-FZ for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 09:15:02 -0400 In-Reply-To: <87y3sqzss0.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --001a11478d904a834c055227b044 Content-Type: text/plain; charset="UTF-8" I see, thanks very much. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Jun 17, 2017 at 8:46 PM, Bastien Guerry wrote: > "numbchild@gmail.com" writes: > > > Did my SSH public key add to org-mode repository? > > Now yes. > > You first need to pull org-mode again like this: > > ~$ git clone orgmode@orgmode.org:org-mode.git > > Then you will be able to push commits. > > Do not commit changes outside of the contrib/ repository. > > If you have signed the FSF copyright papers, please let me > know under what name. > > Best, > > -- > Bastien > --001a11478d904a834c055227b044 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I see, thanks very much.

[stardiviner]= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this = world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeen= ode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @n= umbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8= E5 47C3 2433
Blog: http://stardiviner.github.io/


--001a11478d904a834c055227b044-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sat, 17 Jun 2017 16:27:15 +0200 Message-ID: <87bmpmg058.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMEhE-00018v-FM for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 10:27:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMEhD-0007iH-Lf for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 10:27:28 -0400 In-Reply-To: <87fuey28ch.fsf@bzg.fr> (Bastien Guerry's message of "Sat, 17 Jun 2017 12:53:50 +0200") 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 Guerry Cc: Org-mode Hello, Bastien Guerry writes: > Applied, thanks! I'm not sure to understand commit a023d670eceb9121ef6a511b108fd82265e6d6a8. In particular, why did you remove lexical binding? It really should be active in every library, and is the default when you create a new one. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 10:34:35 +0200 Message-ID: <87mv95ofs4.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMVfS-0007PB-0I for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 04:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMVfR-0006p1-DL for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 04:34:46 -0400 In-Reply-To: <87bmpmg058.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 17 Jun 2017 16:27:15 +0200") 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: Nicolas Goaziou Cc: Org-mode Hi Nicolas, Nicolas Goaziou writes: > I'm not sure to understand commit > a023d670eceb9121ef6a511b108fd82265e6d6a8. In particular, why did > you remove lexical binding? It really should be active in every > library, and is the default when you create a new one. I didn't know lexical binding was now the default when creating a library. Still: when it is not used, why adding it? -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 11:31:08 +0200 Message-ID: <87injtd4mb.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMWY8-0003ag-G2 for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 05:31:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMWY7-0000C6-MG for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 05:31:16 -0400 In-Reply-To: <87mv95ofs4.fsf@bzg.fr> (Bastien Guerry's message of "Sun, 18 Jun 2017 10:34:35 +0200") 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 Guerry Cc: Org-mode Hello, Bastien Guerry writes: > Still: when it is not used, why adding it? We are not adding it since it is in the file by default; you removed it :) This is an odd question, however. The thing is: how is Emacs-lisp scoping, dynamic or lexical? We ought not consider it to be both throughout the code base (even though one file still uses dynamic scoping) as it is just confusing for developers. Since lexical scoping prevents a whole class of (vicious) bugs, it is the most common type of scoping among modern languages, by large. As of Emacs 24.1, let's just consider Elisp to be lexically scoped. In a nutshell, "-*- lexical-binding:t ; -*-" ought to be a mandatory cookie in every Elisp file. Regards, -- Nicolas Goaziou 0x80A93738 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 21:45:25 +0200 Message-ID: <87wp89rsfe.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMg8b-00087H-B5 for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 15:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMg8a-0006ii-F3 for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 15:45:33 -0400 In-Reply-To: <87injtd4mb.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 18 Jun 2017 11:31:08 +0200") 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: Nicolas Goaziou Cc: Org-mode Hi Nicolas, Nicolas Goaziou writes: > Bastien Guerry writes: > >> Still: when it is not used, why adding it? > > We are not adding it since it is in the file by default; you removed > it :) I guess it is in the file by default because the odds are good that lexical scoping will be actually used. > This is an odd question, however. The thing is: how is Emacs-lisp > scoping, dynamic or lexical? We ought not consider it to be both > throughout the code base (even though one file still uses dynamic > scoping) as it is just confusing for developers. Since lexical scoping > prevents a whole class of (vicious) bugs, it is the most common type of > scoping among modern languages, by large. As of Emacs 24.1, let's just > consider Elisp to be lexically scoped. I agree it's good to have lexical scoping, but I don't consider Elisp to be lexical scopped -- I consider Elisp to let the user pick up the constraints he wants, with dynamic binding still being the default. > In a nutshell, "-*- lexical-binding:t ; -*-" ought to be a mandatory > cookie in every Elisp file. Maybe lexical binding will be the default behavior one day, but in the meantime, I would suggest to use "-*- lexical-binding:t ; -*-" only if lexical binding is actually used in the file. Best, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 22:37:25 +0200 Message-ID: <87a855c9ru.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMgwt-0004sW-9u for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 16:37:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMgws-0006GS-Cz for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 16:37:31 -0400 In-Reply-To: <87wp89rsfe.fsf@bzg.fr> (Bastien Guerry's message of "Sun, 18 Jun 2017 21:45:25 +0200") 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 Guerry Cc: Org-mode Bastien Guerry writes: > I agree it's good to have lexical scoping, but I don't consider Elisp > to be lexical scopped -- I consider Elisp to let the user pick up the > constraints he wants, with dynamic binding still being the default. Not at all. Lexical binding is still the way to go. If you need dynamic binding, use a global variable, e.g., a defvar, so at least this is explicit. > Maybe lexical binding will be the default behavior one day, but in the > meantime, I would suggest to use "-*- lexical-binding:t ; -*-" only if > lexical binding is actually used in the file. This is really not a good idea. Firstly, if lexical-binding is nil, no code can use it (obviously). You will not get a warning saying "Hey, your code would really benefit from lexical binding", either. You really don't want to ponder about it at every non-trivial change you make in the file. Secondly, when active, the compiler can reason (a bit) about the code and report more informative errors. The code is more readable, and therefore easier to debug, too. There is absolutely no drawback in using lexical binding. Since Emacs 24.1, it _is_ the default for Elisp: every Elisp file created activates it, the other binding being for compatibility with older libraries. Please, pretty please, don't suggest it is different. Regards, From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 23:32:03 +0200 Message-ID: <87bmplrnho.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> <87a855c9ru.fsf@nicolasgoaziou.fr> 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]:55089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMhno-0001pl-2T for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 17:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMhnk-0005CH-3g for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 17:32:12 -0400 In-Reply-To: <87a855c9ru.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 18 Jun 2017 22:37:25 +0200") 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: Nicolas Goaziou Cc: Org-mode Hi Nicolas, Nicolas Goaziou writes: > There is absolutely no drawback in using lexical binding. Since Emacs > 24.1, it _is_ the default for Elisp: every Elisp file created activates > it, the other binding being for compatibility with older libraries. Maybe I miss something: when I create a file with C-x C-f whatever.el RET it does not use a template or does not get created with lexical binding on. What are you referring to when you say "every Elisp file created activates = it"? > Please, pretty please, don't suggest it is different. Quoting the Emacs Lisp manual: This is the =E2=80=98GNU Emacs Lisp Reference Manual=E2=80=99 correspondi= ng to Emacs version 26.0.50. ... Scoping Rules for Variable Bindings * Dynamic Binding:: The default for binding local variables in Em= acs. * Dynamic Binding Tips:: Avoiding problems with dynamic binding. * Lexical Binding:: A different type of local variable binding. ... 12.10.1 Dynamic Binding ----------------------- =20=20 By default, the local variable bindings made by Emacs are dynamic bindings. When a variable is dynamically bound, its current binding at any point in the execution of the Lisp program is simply the most recently-created dynamic local binding for that symbol, or the global binding if there is no such local binding. To me the manual clearly says dynamic binding is the default, and that's why using lexical binding requires additional info in the file. Whether lexical binding is a good default or not is another question, and whether lexical-binding:t makes sense in a file with no binding yet another, third one. --=20 Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Mon, 19 Jun 2017 11:20:20 +0200 Message-ID: <87y3sobagb.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> <87a855c9ru.fsf@nicolasgoaziou.fr> <87bmplrnho.fsf@bzg.fr> 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]:46398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMsrH-0006oZ-Ko for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 05:20:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMsrG-0006Zj-NO for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 05:20:31 -0400 In-Reply-To: <87bmplrnho.fsf@bzg.fr> (Bastien Guerry's message of "Sun, 18 Jun 2017 23:32:03 +0200") 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 Guerry Cc: Org-mode Hello, Bastien Guerry writes: > Maybe I miss something: when I create a file with C-x C-f whatever.el RET > it does not use a template or does not get created with lexical > binding on. > What are you referring to when you say "every Elisp file created > activates it"? It requires to activate `autoinsert' feature, which is bundled with Emacs. > * Dynamic Binding:: The default for binding local variables in = Emacs. OK. I stand corrected. Let me rephrase this then: There is absolutely no drawback in using lexical binding. Since Org 9.0, it _is_ the default for Org core: almost every Org library activates it nowadays. Please, pretty please, don't suggest it is different. > Whether lexical binding is a good default or not is another question, > and whether lexical-binding:t makes sense in a file with no binding > yet another, third one. Let's consider this a non-starter.=20 Again, lexical binding has _no_ drawback and makes life of developers easier (e.g., code is more readable, compiler reports more errors). I moved almost every library in Org to lexical binding, some changes being trivial, some painful, for a reason. I don't want to do a step backward in that area without a very strong reason=E2=80=93to tell the trut= h, even a strong reason wouldn't convince me. In particular, I don't want to introduce scoping bugs in a library because, at its creation, lexical binding wasn't activated and nobody cared to check the first line of the file before introducing a dubious binding. I sincerely hope we can agree on the topic, hic et nunc, and move on to actual coding. Regards, --=20 Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Mon, 19 Jun 2017 10:14:53 +0000 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> <87a855c9ru.fsf@nicolasgoaziou.fr> <87bmplrnho.fsf@bzg.fr> <87y3sobagb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045fff24ad211c05524d68ef" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMtiA-0002M9-Qo for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 06:15:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMti9-0004mB-KQ for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 06:15:10 -0400 In-Reply-To: <87y3sobagb.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , Bastien Guerry Cc: Org-mode --f403045fff24ad211c05524d68ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2017, 5:21 AM Nicolas Goaziou wrote: > There is absolutely no drawback in using lexical binding. Since Org > 9.0, it _is_ the default for Org core: almost every Org library > activates it nowadays. > > Again, lexical binding has _no_ drawback and makes life of developers > easier (e.g., code is more readable, compiler reports more errors). > I moved almost every library in Org to lexical binding, some changes > being trivial, some painful, for a reason. I don't want to do a step > backward in that area without a very strong reason=E2=80=93to tell the tr= uth, > even a strong reason wouldn't convince me. > Here are some of my observations on the topic of lexical-binding by following emacs-devel closely for the past few years. It has become a norm to write new elisp code that is lexical-binding friendly. I have seen this movement started on emacs master for a long time now (since 2011), and still there is a continuous effort to enable lexical-binding on more and more emacs core files: http://git.savannah.gnu.org/cgit/emacs.git/log/?qt=3Dgrep&q=3Dlexical-bindi= ng The same applies to Magit and many other external emacs packages ( https://github.com/search?q=3Dlexical-binding+language%3A"Emacs+Lisp"&type= =3Dcommits ). The idea is that once almost all the elisp code out there is lexical-binding compatible, the default of emacs can be changed to that and dynamic binding can be obsoleted. I have also seen how a lexically bound package is more portable as there is no implicit reliance on global variables from multiple other packages. > -- Kaushal Modi --f403045fff24ad211c05524d68ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 There is absolutely no drawback in using lexical binding. Since Org<= br> =C2=A0 9.0, it _is_ the default for Org core: almost every Org library
=C2=A0 activates it nowadays.=C2=A0

Again, lexical binding has _no_ drawback and makes life of developers
easier (e.g., code is more readable, compiler reports more errors).
I moved almost every library in Org to lexical binding, some changes
being trivial, some painful, for a reason. I don't want to do a step backward in that area without a very strong reason=E2=80=93to tell the trut= h,
even a strong reason wouldn't convince me.
=

Here are some of my observations on the topic of lexi= cal-binding by following emacs-devel closely for the past few years.=C2=A0<= br>

It has become a norm to write new elisp code t= hat is lexical-binding friendly.=C2=A0

I have seen= this movement started on emacs master for a long time now (since 2011), an= d still there is a continuous effort to enable lexical-binding on more and = more emacs core files:=C2=A0http://git= .savannah.gnu.org/cgit/emacs.git/log/?qt=3Dgrep&q=3Dlexical-binding=

The same applies to Magit and many other external= emacs packages ( https://github.com/search?q=3Dlexical-binding+language%3A&= quot;Emacs+Lisp"&type=3Dcommits ).=C2=A0

= The idea is that once almost all the elisp code out there is lexical-bindin= g compatible, the default of emacs can be changed to that and dynamic bindi= ng can be obsoleted.

I have also seen how a lexica= lly bound package is more portable as there is no implicit reliance on glob= al variables from multiple other packages.
=
--

Kaushal Modi

--f403045fff24ad211c05524d68ef-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Mon, 19 Jun 2017 12:37:43 +0200 Message-ID: <87o9tkxnyg.fsf@bzg.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> <87a855c9ru.fsf@nicolasgoaziou.fr> <87bmplrnho.fsf@bzg.fr> <87y3sobagb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMu49-0003cg-30 for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 06:37:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMu48-0007m0-DG for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 06:37:53 -0400 In-Reply-To: <87y3sobagb.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 19 Jun 2017 11:20:20 +0200") 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: Nicolas Goaziou Cc: Org-mode Hi Nicolas, I'm all for lexical-binding, and it's good to have it in Org's core. The author of ob-sclang.el used "2011-2017" for the copyright years, which was obviously a typo and tells that the header was simply copied from another file (which is 100% fine btw). >From that, I inferred that the "lexical-binding:t" was also copied without further thinking, especially since there is no binding at all in this file. I think Stardiviner is the one who should make the decision, but I don't see what "lexical-binding:t" would add to his actual code. For the more general concern: again, I'm all for lexical binding and I'm well aware of its numerous advantages, but I don't think we should rule dynamic binding from contributed Org code. Dynamic binding has it's limitations, but when used carefully, it also has the advantage of being easier to grok for beginners. We want to welcome beginner's contributions. So I simply recommand lexical binding for Org's core, and what fits developers best for Org's contributions. And I agree we can move on to something else :) -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Mon, 19 Jun 2017 22:44:28 +0800 Message-ID: References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> <87injtd4mb.fsf@nicolasgoaziou.fr> <87wp89rsfe.fsf@bzg.fr> <87a855c9ru.fsf@nicolasgoaziou.fr> <87bmplrnho.fsf@bzg.fr> <87y3sobagb.fsf@nicolasgoaziou.fr> <87o9tkxnyg.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11418c70e506d30552512d45" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMxvM-00033r-PS for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 10:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMxvL-0004OG-81 for emacs-orgmode@gnu.org; Mon, 19 Jun 2017 10:45:04 -0400 In-Reply-To: <87o9tkxnyg.fsf@bzg.fr> 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 Guerry Cc: Org-mode , Nicolas Goaziou --001a11418c70e506d30552512d45 Content-Type: text/plain; charset="UTF-8" After you two's discussion, I have some understanding about lexical scope and dynamic scope. I will add lexical binding if my code use it. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Jun 19, 2017 at 6:37 PM, Bastien Guerry wrote: > Hi Nicolas, > > I'm all for lexical-binding, and it's good to have it in Org's core. > > The author of ob-sclang.el used "2011-2017" for the copyright years, > which was obviously a typo and tells that the header was simply copied > from another file (which is 100% fine btw). > > From that, I inferred that the "lexical-binding:t" was also copied > without further thinking, especially since there is no binding at all > in this file. > > I think Stardiviner is the one who should make the decision, but I > don't see what "lexical-binding:t" would add to his actual code. > > For the more general concern: again, I'm all for lexical binding and > I'm well aware of its numerous advantages, but I don't think we should > rule dynamic binding from contributed Org code. Dynamic binding has > it's limitations, but when used carefully, it also has the advantage > of being easier to grok for beginners. We want to welcome beginner's > contributions. So I simply recommand lexical binding for Org's core, > and what fits developers best for Org's contributions. > > And I agree we can move on to something else :) > > -- > Bastien > --001a11418c70e506d30552512d45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After you two's discussion, I have some understanding = about lexical scope and dynamic scope. I will add lexical binding if my cod= e use it.

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9= BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.= io/

On Mon, Jun 19, 2017 at 6:37 PM, Bastien Gue= rry <= bzg@gnu.org> wrote:
Hi Nico= las,

I'm all for lexical-binding, and it's good to have it in Org's = core.

The author of ob-sclang.el used "2011-2017" for the copyright yea= rs,
which was obviously a typo and tells that the header was simply copied
from another file (which is 100% fine btw).

>From that, I inferred that the "lexical-binding:t" was also copie= d
without further thinking, especially since there is no binding at all
in this file.

I think Stardiviner is the one who should make the decision, but I
don't see what "lexical-binding:t" would add to his actual co= de.

For the more general concern: again, I'm all for lexical binding and I'm well aware of its numerous advantages, but I don't think we sho= uld
rule dynamic binding from contributed Org code.=C2=A0 Dynamic binding has it's limitations, but when used carefully, it also has the advantage of being easier to grok for beginners.=C2=A0 We want to welcome beginner= 9;s
contributions.=C2=A0 So I simply recommand lexical binding for Org's co= re,
and what fits developers best for Org's contributions.

And I agree we can move on to something else :)

--
=C2=A0Bastien

--001a11418c70e506d30552512d45--