A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/joaotavora/sly-named-readtables below:

joaotavora/sly-named-readtables: NAMED-READTABLES support for SLY

NAMED-READTABLES support for SLY

sly-named-readtables is an external contrib for SLY that enables different readtables to be active in different parts of the same file:

Based on the original idea and implementation by user "budden" discussed in slime/slime#259.

Perform the usual MELPA setup and then do M-x package-install RET sly-named-readtables RET.

M-x sly should now bring up a readtable-able SLY.

(for the first time only, you'll have to M-x sly-setup before to correctly setup contribs)

Since this is an external contrib with both Elisp and Lisp parts, merely loading the Elisp will have little effect. The contrib has to be registered in SLY's sly-contribs variable for SLY to take care of loading the Lisp side on demand.

For convenience, the sly-named-readtables-autoloads file takes care of this automatically. So the following setup in your ~/.emacs or ~/.emacs.d/init/el init file should be enough.

;;; regular SLY setup
(setq inferior-lisp-program "/path/to/your/preferred/lisp")
(add-to-list 'load-path "/path/to/sly")
(require 'sly-autoloads)

(add-to-list 'load-path "/path/to/sly-named-readtables")
(require 'sly-named-readtables-autoloads)

In case you already have SLY loaded and running, you might have to M-x sly-setup and M-x sly-enable-contrib to enable it.

sly-named-readtables should now kick in in Lisp buffers. You must have named-readtables setup in your Lisp before it takes any actual effect though. That's easy, just (ql:quickload :named-readtables).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4