On Tue, 04 Apr 2017 16:58 -0800, Tim Johnson wrote:
> I'd welcome opinions as to which I should use.

Hi Tim!

Sorry to be "late for the party".  I'm not an expert on emacs configs
for picolisp, but I use Thorsten's repo here:
https://github.com/tj64/picolisp-mode.

My `~/.emacs.d/init.el` file has something more involved (to configure
Thorsten's package), but you can get well started with something very
simple like:

```
(add-to-list 'load-path "/path/to/picolisp-mode")
(require 'inferior-picolisp)
(add-to-list 'auto-mode-alist '("\\.l$" . picolisp-mode))
```

where `/path/to/picolisp-mode` is where you cloned the repo into, of
course.

This works because `inferior-picolisp.el` requires `picolisp.el`; so no
need to do the dance the other way. :)

If you already use `use-package` (find it on elpa), it's even a bit
simpler:

```
(add-to-list 'load-path "/path/to/picolisp-mode")
(use-package inferior-picolisp
  :mode ("\\.l\\'" . picolisp-mode))
```

The nice thing about `use-package` is that it's a "lazy load" -- it
computes an autoload for you on-the-fly.  The actual load will happen
when you open a `.l` file for the first time.

There you go FWIW.  Your friend in multiple lisps, --Rick

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to