From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jo=E3o_T=E1vora?= Newsgroups: gmane.emacs.devel Subject: Re: Better indentation for elisp Date: Tue, 19 Feb 2013 15:41:13 +0000 Message-ID: References: <1361217567226-278668.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361288520 18807 80.91.229.3 (19 Feb 2013 15:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 15:42:00 +0000 (UTC) Cc: Sergey Mozgovoy , Emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 16:42:22 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7pKm-0002bV-QO for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 16:42:20 +0100 Original-Received: from localhost ([::1]:52065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pKS-00047a-Qi for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 10:42:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pK8-00043a-HJ for Emacs-devel@gnu.org; Tue, 19 Feb 2013 10:41:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7pK2-0007n0-N6 for Emacs-devel@gnu.org; Tue, 19 Feb 2013 10:41:40 -0500 Original-Received: from mail-qe0-f50.google.com ([209.85.128.50]:32845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pK2-0007mb-6G for Emacs-devel@gnu.org; Tue, 19 Feb 2013 10:41:34 -0500 Original-Received: by mail-qe0-f50.google.com with SMTP id 7so3062490qea.23 for ; Tue, 19 Feb 2013 07:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=ryDgIF6LXtq751qjWHcdeIFOQckx9UAlvMb0f2sBHNs=; b=LT9JzW1kSo33CZSgt1ZPZUMUenXmLNlz01CQe3YQtZJnJxdOYOsTXADCjVdmQR6TVh 1eyEw5YI5QpORHYzn3WorXHL7p58BZFZCBS4UgCyi2PyykwnvPPlIIMoLzafqQtOcz0X qrxEpnfvqk6F0mk+yGJlont3EwiXTw6q9mzOJadjTY2kBEqxu/tau7km6riqpuaxF07z A62rr9qBb02N45qCMKLwwLRNWhmH+2k7dAil4MojaMGp9lQJSDOzxVsRwBFthyqarSSv bbUB1LDiBkVVBs/afPa6TMJpTqA3f4IarL3PzSYofIKXrIzw3LAVH6cKkhA6lTfcldXN fpWQ== X-Received: by 10.229.172.80 with SMTP id k16mr1497708qcz.56.1361288493396; Tue, 19 Feb 2013 07:41:33 -0800 (PST) Original-Received: by 10.229.145.139 with HTTP; Tue, 19 Feb 2013 07:41:13 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.50 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:157158 Archived-At: On Tue, Feb 19, 2013 at 1:53 PM, Stefan Monnier wrote: >> I think we could just reuse some SLIME indentation ideas for Emacs >> Lisp. [...] > So, I think I could be convinced, but only if the new indentation > algorithm is sufficiently simple. [...] I don't think this is in the original proposal, but the most interesting indentation feature in SLIME, at least for me, is that is automatically discovers how to indent user macros. See http://common-lisp.net/project/slime/doc/html/Semantic-indentation.html -- Jo=E3o T=E1vora