[slime-devel] slime-indentation patch

Marco Baringer mb at bese.it
Fri Apr 11 10:40:37 UTC 2008


hi,

  I'd like to change the indentation of cond as described is this
  docstring:

------------------------------------------------------------------------
Cond is either (&rest (&whole 2 1 &rest 1)) or (&rest (&whole 6 1
&rest 1)) depending on whether the first caluse is or isn't on
the same line as the cond symbol.

So if we have:

  (cond (a b)
  ...

we use line up the clauses after the cond symbol (6 spaces of
indentation). Whereas if we have:

  (cond
    (a b)
    ...)

we line up the clauses two space past the form's indentation.
------------------------------------------------------------------------

Any objections? (patch and ChangeLog entry attached)

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the slime-devel mailing list