emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Exploring picolisp


From: Lawrence Bottorff
Subject: [O] Exploring picolisp
Date: Sun, 25 Feb 2018 20:29:21 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]