emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common Lisp indentation bug fix/new feature


From: Lars Magne Ingebrigtsen
Subject: Re: Common Lisp indentation bug fix/new feature
Date: Tue, 22 Nov 2011 19:09:54 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> I'd be interested to see how SMIE handles it.

I don't know from SMIE, but I was told by my cow-orkers today that SLIME
has its own version of cl-indent.el that does LOOP indentation
properly.  (Allegedly the only difference between the version in SLIME
and Emacs is the LOOP handling.)

It indents like this:

  (loop for z
          from 1 upto 5
        do (princ z)
           (terpri)
           (terpri)
        when (zerop z)
          finally (terpri)
                  (terpri))

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]