February 2012
2 posts
How to use ~/.swank.lisp
For some people it’s not obvious how to use ~/.swank.lisp to configure swank (the CL part of Slime). First, it’s better to have (in-package :swank) at the beginning. Then, instead of using SETF, it’s better to use DEFVAR or DEFPARAMETER, because ~/.swank.lisp is loaded before the contrib modules (in which some variables are defined) and SETF will produce a warning (like in the...
Object slots ordering in the inspector
When inspecting an object inspector provides two options on how to sort and group the slots. By default it lists all the slots alphabetically. The other option is to list them in the way they are defined. It can also group the slots by the direct class they’re defined in. Slots can be sorted or unsorted when you grouped by classes as well. Inspector provides two check-boxes to change the...