all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: Common Lisp indentation bug fix/new feature
Date: Tue, 22 Nov 2011 19:09:54 +0100	[thread overview]
Message-ID: <m31ut0c9l9.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvwrasta3h.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 22 Nov 2011 11:43:52 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> 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	other threads:[~2011-11-22 18:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 22:26 Common Lisp indentation bug fix/new feature Lars Magne Ingebrigtsen
2011-11-22 14:57 ` Stefan Monnier
2011-11-22 15:35   ` Lars Magne Ingebrigtsen
2011-11-22 15:52     ` Lawrence Mitchell
2011-11-22 16:43     ` Stefan Monnier
2011-11-22 18:09       ` Lars Magne Ingebrigtsen [this message]
2011-11-22 22:28         ` Tim Cross
2012-03-31 10:21         ` Nikodemus Siivola
2012-04-03  3:47           ` Lars Magne Ingebrigtsen
2012-04-03 10:13             ` Nikodemus Siivola
2012-04-03 14:53               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31ut0c9l9.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.