From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Exploring picolisp Date: Sun, 25 Feb 2018 20:29:21 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c04f3fc8b576305661370b5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq7bY-0006lP-Nn for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 20:29:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq7bX-0002qM-Lm for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 20:29:24 -0500 Received: from mail-ot0-x22d.google.com ([2607:f8b0:4003:c0f::22d]:39558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eq7bX-0002om-Fx for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 20:29:23 -0500 Received: by mail-ot0-x22d.google.com with SMTP id h8so1165569oti.6 for ; Sun, 25 Feb 2018 17:29:23 -0800 (PST) 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: emacs-orgmode Mailinglist --94eb2c04f3fc8b576305661370b5 Content-Type: text/plain; charset="UTF-8" I'm looking at picolisp -- and wondering how it works, or better, why it doesn't really work work with babel. First problem, I couldn't get any form of picolisp to work in Emacs -- until I stopped starting Emacs with emacsclient -c -a '' which sets up my daemon first. Got abstruse error -- and it creates a file called `editor-orig` in `~/.pil` which blocks any further attempts. After tearing stuff out of my init diaspora for hours, I finally found that a straight >emacs & made picolisp-mode work, otherwise, not. Very weird. But then I see this and, yes, picolisp babel seems to work for all the examples. However, a regular function declaration #+name: hello #+begin_src picolisp (de hello (X) (prinl "Hello " X) ) #+end_src -- goes nowhere. But then C-c C-c in a picolisp code block isn't firing up a REPL, so where can it go? Nowhere. Lisp, Scheme & Cie. all require a running REPL that org-mode knows about. And if I just bring up picolisp-mode with a picolisp file and fire up a REPL, that REPL doesn't know anything about my org-mode picolisp code blocks. I don't mean to complain or sound negative, but picolisp as is can't really be included as a babel language, can it? Maybe it worked once, but doesn't now? LB --94eb2c04f3fc8b576305661370b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm looking at picolisp -- and wondering how it works,= or better, why it doesn't really work work with babel. First problem, = I couldn't get any form of picolisp to work in Emacs -- until I stopped= starting Emacs with=C2=A0

emacsclient -c -a ''<= /div>

which sets up my daemon first. Got abstruse error = -- and it creates a file called `editor-orig` in `~/.pil` which blocks any = further attempts. After tearing stuff out of my init diaspora for hours, I = finally found that a straight

>emacs &

made picolisp-mode work, otherwise, not. Very weird. B= ut then I see=C2=A0this= =C2=A0and, yes, picolisp babel seems to work for all the examples. However,= a regular function declaration=C2=A0

#+name:= hello
#+begin_src picolisp
(de hello (X)
=C2= =A0 =C2=A0(prinl "Hello " X) )
#+end_src

-- goes nowhere. But then C-c C-c in a picolisp code block= isn't firing up a REPL, so where can it go? Nowhere. Lisp, Scheme &= ; Cie. all require a running REPL that org-mode knows about. And if I just = bring up picolisp-mode with a picolisp file and fire up a REPL, that REPL d= oesn't know anything about my org-mode picolisp code blocks.
=
I don't mean to complain or sound negative, but picolisp= as is can't really be included as a babel language, can it? Maybe it w= orked once, but doesn't now?

LB
--94eb2c04f3fc8b576305661370b5--