On Thu, Aug 21, 2008 at 5:06 PM, Paul Donnelly
<[EMAIL PROTECTED]> wrote:
> The bear is indentation, since to make it work out it's
> necessary to use a fixed-width font (something I'd rather not do) and
> adjust it by hand, which needs to happen more often and by greater
> degrees than in a language like C. The chief issues being:
>
> (list (list 'a 'b 'c)
>      (list 1 2 3))
> ;     ^
> ;     These need to line up.
>
> ;     These need to line up.
> ;     V
> (let ((a 3)
>      (b 4))
>  (+ a b))
> ; ^
> ; Should be two spaces or so.

 Huh. I always thought lisp had a couple of simple indentation rules,
but after spending a little time on fmtsexp.c it has become apparent
that the "two spaces or so" is a special case for let! Not sure I care
to try and deal with such cases, but maybe it is still somewhat
useful: http://sqweek.dnsdojo.org/plan9/fmtsexp.c
-sqweek

Reply via email to