[slime-devel] Patch for :DEFAULT-INITARGS indentation problem

Desmond O. Chang dochang at gmail.com
Tue Jun 29 20:52:24 UTC 2010


On Tue, Jun 29, 2010 at 2:19 PM, Helmut Eller <heller at common-lisp.net> wrote:
>
> Something like
>
>  (put 'default-value 'common-lisp-indent-function '(&rest))
>
> would probably be easier than adding yet another special case to the
> indentation code.  Or writing \Default should also work.
I prefer configuration to patch, but your solutions also have two problems:

1. In the `put' way, I have to manually set every `default-*' symbol
which does not indent as `defun'.
2. In the backslash way, I need to modify existing code, and syntax
highlight doesn't work on :\default-initargs.

Is there a perfect way?




More information about the slime-devel mailing list