This allows you to define custom indentation hints for your macros if the one recognised by Slime automatically produces unwanted results.
The only feature of this that you will really need to use is
(define-indentation defmacro (4 &lambda &body))
(define-indentation something-more-complex (4 &rest (&whole 2 0 4 &body)))
For more information on how the indentation rule forms work, please refer to the Slime source and documentation.
Otherwise just faffing about until it produces the indentation you need works well too.
Copyright trivial-indent is licensed under the Artistic license. © Nicolas Hafner <firstname.lastname@example.org> .
TRIVIAL-INDENT (INDENT ORG.TYMOONNEXT.RADIANCE.LIB.TRIVIAL-INDENT)
Returns the custom defined indentation of a symbol if there is any. SETF-able.
Attempts to initialize slime with our indentation table.
If SWANK-INDENTATION is not loaded, this does nothing.
It should be safe to call this function regardless of whether
SWANK is loaded at all or not.
This is automatically called when TRIVIAL-INDENT is loaded.
Remove the indentation hint for a symbol.
Define an indentation hint for a symbol.
See the SLIME/SWANK documentation for more information on the rules.
Example: (define-indentation defmacro (4 &lambda &body))