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 16:35:31 +0100	[thread overview]
Message-ID: <m3mxborwzg.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvipmcurxh.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 22 Nov 2011 09:57:25 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> I think it's a good change, but I don't think there's any rush to put it
> into Emacs-24.1.

Right.  And it's not a totally complete solution, either.  Stuff like

(loop for (bar foo)
      on zot
      by #'cddr
      collect bar)

should probably not indent like that?  (Which is what it does both now
and with my additional patch, I think.)

I think the LOOP indentation thing really needs to have deeper knowledge
about the semantics to indent stuff better.  That is, it needs to know
that FOR and COLLECT introduce a new clause, while ON/BY don't.

So I'll write something more semantically aware and apply it to Emacs
after 24.1.

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



  reply	other threads:[~2011-11-22 15:35 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 [this message]
2011-11-22 15:52     ` Lawrence Mitchell
2011-11-22 16:43     ` Stefan Monnier
2011-11-22 18:09       ` Lars Magne Ingebrigtsen
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=m3mxborwzg.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.