From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Common Lisp indentation bug fix/new feature Date: Tue, 22 Nov 2011 16:35:31 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321976160 2199 80.91.229.12 (22 Nov 2011 15:36:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 15:36:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 22 16:35:55 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSsO2-0007wR-HQ for ged-emacs-devel@m.gmane.org; Tue, 22 Nov 2011 16:35:54 +0100 Original-Received: from localhost ([::1]:59206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSsO1-0008R4-La for ged-emacs-devel@m.gmane.org; Tue, 22 Nov 2011 10:35:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSsNy-0008Qw-NA for emacs-devel@gnu.org; Tue, 22 Nov 2011 10:35:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSsNq-0006tn-Ru for emacs-devel@gnu.org; Tue, 22 Nov 2011 10:35:50 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSsNq-0006tg-Jj for emacs-devel@gnu.org; Tue, 22 Nov 2011 10:35:42 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RSsNj-0004D0-2q; Tue, 22 Nov 2011 16:35:35 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 22 Nov 2011 09:57:25 -0500") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAtAQcJAAEFAACO EScXAARPAxCaS1lMc1PiAAACQklEQVQ4jX2UzVfiMBDAo33oOWrLdTOxeMWOH2d52fa6KQauWy3h KvtK8+/vTCof4r6dkrbkN5+ZASGOJeGFCJCD+CqAQmCB+vEUkCBiAVB8BxFCHp+LH18j3WmMFmfh 4xCcYmOYD2B5AIj0uQ84gPD8MfhKAHUB+bKnjOnraDNSm19nm3G2XIflJrj1VgODyw/xHI5kHd7c Dgw7Vbz3IUhXR/Dnsl8fmwSZajoBcR7C77uwafotqQ8aGhmIp21MSReNlDXYZkxZTffljkSSSwKo UjXfg3OxCGIUtuw8n6j6E4R1VS778ils0kmfUVbvOoILDjcO/ZJij4e0auSWXVT9TWnLa+lV79xi MWkbiOmKbteFApBFzSFaiNWheUkEuhjAUefiySvNFodKcEr1ssUjcAy/8E8+o2vibSrnOMwCg9bc mNaYuEzpV9OzKwB4ZBC39iItg2ixlyreX1bAc3UCWtNVZnYKjAk/x6Fjq69g9tplt50JXeiAwIG8 r0yjTBUMnaOQWWv8J1CkMzNVVxFjUO7AA62rdshCWC891e3L1rwVrZlhPiiJ/ErK1DaeEOJtKVEN MQVcW5mqxjfZS4IPL6/F7StX04o0VTQc5M43rl6UmZyQXxLhnKsJWWnpLZepc1Y60uTezKmlwuU1 QE3Q2dRZm3KjdKKn4h5qQNoGZV1trWNQMBhFkLMnuhoGyXlCP8YUwDlZ52zEQk3OC2p2oXWCxOmF HqBP/wASGpLpdxDnigYhujo1YfpPQK7+D/4CKo/W9lPi/zwAAAAASUVORK5CYII= X-Now-Playing: Various's _Crammed Goes to the Movies_: "Gabor Kristof - Ballade de l'Estafette" X-MailScanner-ID: 1RSsNj-0004D0-2q MailScanner-NULL-Check: 1322580935.28097@A1zBr30iqGp1WASfV/DW/w X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146145 Archived-At: Stefan Monnier 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/