cl-pdf.arglists is a simple little library to improve the arglist display of cl-pdf and cl-typesetting macros in, for example, slime. It adds display of keywords from methods on #’initialize-instance, as well as object initargs, to macros which just forward a &rest argument to make-instance.
No more wondering what keyword arguments are appropriate in each macro or perusing the source in an attempt to find out.
Now if only cl-pdf and cl-typesetting had actual documentation. :)
cl-pdf.arglists requires a small set of additional libraries:
- alexandria
- closer-mop
- cl-pdf
- cl-typesetting
Cloning via git is relatively easy.
git clone https://github.com/pinterface/cl-pdf.arglists.git
I assume you already know how to ensure ASDF can find it.
Load via ASDF. Enjoy the more useful arglists.
cl-pdf.arglists currently only provides nicer arglists for SBCL and clisp. Patches for other implementations are welcome. (see #p”arglists.lisp”)