slime related:
default
Add this to .emacs file to load slime (default config):
(setq inferior-lisp-program "clisp")
(add-to-list 'load-path "~/cvs-down/slime")
(require 'slime)
(slime-setup)
Change inferior-lisp-program to desired lisp implementation.
Will have to hit tab to jump to proper idention.
-------------------------------------------------
You can use alternate settings such these:
(setq inferior-lisp-program "sbcl")
(add-to-list 'load-path "~/slimeballdirectory/slime")
(require 'slime-autoloads)
(slime-setup '(slime-fancy))
This adds some extra features while running slime, like
more feedback, auto indenting, etc
It also lets you enter commands to slime with a ,
For instance:
,quit
Will quit the current slime lisp and drop back to emacs
if only one is running
,sayoonara
Quits all lisps and close all slime buffers
,help
For list of available commands
---------------------------------------
^c ^p - jump to front of previous form
^o - to add an empty line after cursor
So you can edit previous evaluated code
M-x list-colors-display
Display colors supported by current emacs configuration
Red output font to hard to read in slime-repl
The returned values red on black in terminal
---------------------------------------------
Once using slime-fancy text colors will change from plain.
Repl output may be in red. When in a terminal with black
back, it may be hard to read. This can be changed by:
** You can use emacs commands or arrow keys to enter [boxes]
** select them with enter key, once in customization area.
** Find the lines you want and hit enter to bring up
** configuration menus.
M-x customize-group -> slime -> [Slime-Repl] ->
Slime Repl Inputed Output Face
It will actually say:
Show Slime Repl Inputed Output Face, just hit enter on that line
to see options to change it.
[sample] = shows a sample of the current color
[ Choose ] Lets you pick desired color
Scroll back up to:
[Revert... ] = Change back
[ Apply ] = Apply changes for current session
[ Apply and Save ] Apply and save changes .emacs
M-x quit
To get the hell out of there. May have to do it twice
to quit both areas.
If you want everything to override any special font effects
Uncheck the [X] box under all menus, save and enjoy plainness.
This will add something like this to your .emacs file:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(slime-repl-inputed-output-face ((t (:foreground "color-208")))))
You can probably get away with just adding this:
(custom-set-variables)
(custom-set-faces
'(slime-repl-inputed-output-face ((t (:foreground "color-208")))))
But as the warnings above state, the chicken hearted may want to go
through the menus, as you do so at your own risk.
Also keep in mind that if you just add the colors to .emacs then
you will be limited if you are not running 256colors in your term.
In that case 'magenta', may be the next best color, then 'brightred',
color-196 looked ok and was the next best visible color. As I am color
blind I went with a more oranger color-208. Which is still different
enough from 'Show Slime Repl Output Face' for me to see the differnce
from the one I changed 'Show Slime Repl Inputed Output Face'.
default