On Thu, Oct 10, 2013 at 2:07 AM, Lucien Pullen drurowin@gmail.com wrote:
I was wondering if it is possible to specify indentation rules for all symbols that match a substring.
I don't think this is possible out of the box, but it seems like a useful feature that could be added to the slime-indentation contrib.
Have a look at the `common-lisp-get-indentation' function in slime/contrib/slime-cl-indent.el. It supports 3 methods for looking up indentation information. This is the place where you could add a 4th if you want to do it on the Emacs Lisp side.
slime/contrib/swank-indentation.lisp also has a customization mechanism as well, *application-hints-tables*, which might be useful if you want to do it on the Common Lisp side.
HTH,