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

Helmut Eller heller at common-lisp.net
Wed Jun 30 08:45:32 UTC 2010

* Desmond O. Chang [2010-06-29 20:52] writes:

> 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'.

Hopefully there aren't that many.

> 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?

Maybe a better indentation function for defclass.


More information about the slime-devel mailing list