Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the trivial-indent Reference Manual, version 1.0.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 15:19:14 2020 GMT+0.
• Introduction | What trivial-indent is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
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
.
(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.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The trivial-indent system |
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/trivial-indent.git")
zlib
A very simple library to allow indentation hints for SWANK.
1.0.0
trivial-indent.asd (file)
indent.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The trivial-indent.asd file | ||
• The trivial-indent/indent.lisp file |
Next: The trivial-indent/indent․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
trivial-indent.asd
trivial-indent (system)
Previous: The trivial-indent․asd file, Up: Lisp files [Contents][Index]
trivial-indent (system)
indent.lisp
*indentation-hints* (special variable)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The trivial-indent package |
indent.lisp (file)
common-lisp
*indentation-hints* (special variable)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros | ||
• Exported functions |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
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))
indent.lisp (file)
Previous: Exported macros, Up: Exported definitions [Contents][Index]
Returns the custom defined indentation of a symbol if there is any. SETF-able.
indent.lisp (file)
(setf indentation) (function)
Sets the indentation hint for a symbol.
indent.lisp (file)
indentation (function)
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.
indent.lisp (file)
Attempts to initialize sly with our indentation table.
If SLYNK/INDENTATION is not loaded, this does nothing.
It should be safe to call this function regardless of whether
SLYNK is loaded at all or not.
This is automatically called when TRIVIAL-INDENT is loaded.
indent.lisp (file)
Remove the indentation hint for a symbol.
indent.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables |
Previous: Internal definitions, Up: Internal definitions [Contents][Index]
indent.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L T |
---|
Jump to: | F L T |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
D F I M R |
---|
Jump to: | (
D F I M R |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*indentation-hints* : | Internal special variables | ||
| |||
S | |||
Special Variable, *indentation-hints* : | Internal special variables | ||
|
Jump to: | *
S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | P S T |
---|
Jump to: | P S T |
---|