On Tue, Jun 29, 2010 at 2:19 PM, Helmut Eller heller@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?