Slime for Euslisp
Yuki Furuta <[email protected]>
Affonso Guilherme de Campos <[email protected]>
-
Clone packages
mkdir euslime_dir cd euslime_dir/ git clone https://github.com/Affonso-Gui/euslime.git git clone https://github.com/slime/slime.git git clone https://github.com/deadtrickster/slime-repl-ansi-color.git
-
Install `euslime'
sudo pip install -U -e euslime
This enable to run
euslime
. -
Setup documentation [PROVISORY]
Until euslisp/EusLisp#359 gets merged. Use absolute paths and ensure having a '/' in the end.
svn checkout https://github.com/Affonso-Gui/EusLisp/branches/update-docs/doc/latex # Uncomment and complete the following line in `euslime/slime-util.l`: `(setq help::*eus-tex-dir* "/path/to/latex/")`
-
Fix ROSINFO/ROSWARN bug on ros-kinetic [OPTIONAL]
ROSINFO and ROSWARN messages are not displayed in ROS Kinetic. To fix this bug, install roseus from source and run the following commands on the roseus workspace:
git clone https://github.com/ros/rosconsole catkin build rosconsole roseus
-
Add script to your emacs init file
;; ~/.emacs.el (add-to-list 'load-path "/path/to/euslime_dir/slime") (add-to-list 'load-path "/path/to/euslime_dir/euslime") (add-to-list 'load-path "/path/to/euslime_dir/slime-repl-ansi-color") (require 'slime-autoloads) (require 'euslime) (setq inferior-lisp-program "sbcl") (setq inferior-euslisp-program "roseus") (slime-setup '(slime-fancy slime-repl-ansi-color slime-banner))
-
Launch emacs
Type the command:
M-x euslime
On slime buffer | |
---|---|
[TAB] | completion |
C-c C-d d | describe/ help |
C-c C-d a | apropos |
C-c C-d p | apropos package |
M-. | look for definition |
C-c [RET] | macroexpansion |
,quit | quit session |
,restart-inferior-lisp | restart session |
On editing buffers | |
---|---|
C-c C-c | load expression |
C-c C-l | load-file |
On other slime buffers | |
---|---|
q | quit buffer |
[RET] | select option |