From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] emacs: devel: Add indentation rules. Date: Tue, 13 Oct 2015 11:45:59 +0200 Message-ID: <87ziznqey0.fsf@gnu.org> References: <871tdm6i0i.fsf@gmail.com> <8737y28fss.fsf@gnu.org> <87d1x57yhg.fsf@gmail.com> <87si5zwqqu.fsf@gnu.org> <878u7qybjn.fsf_-_@gmail.com> <87r3lhxchs.fsf@gnu.org> <87d1wyqoqw.fsf@gmail.com> <87wpv6l1d8.fsf@gnu.org> <87h9m9xwsf.fsf@gmail.com> <87a8s1e8mg.fsf@gnu.org> <87y4f8bfdn.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlw9q-0003yb-9x for guix-devel@gnu.org; Tue, 13 Oct 2015 05:46:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlw9h-0002gM-Om for guix-devel@gnu.org; Tue, 13 Oct 2015 05:46:06 -0400 In-Reply-To: <87y4f8bfdn.fsf_-_@gmail.com> (Alex Kost's message of "Mon, 12 Oct 2015 12:33:24 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2015-10-02 15:51 +0300) wrote: > >> Alex Kost skribis: >> >>> I thought that most people (except me) agreed that indentation rules >>> should stay in ".dir-locals.el", so I don't see a reason why they also >>> need to be duplicated in "guix-devel.el". >> >> It=E2=80=99s interesting to have them in .dir-locals.el for people who h= ack Guix >> itself. >> >> But it=E2=80=99s also interesting to have them in guix-devel.el for peop= le who >> maintain, say, their own package collection outside of the Guix repo. > > So here it is. I added indentations only for Guix stuff, as I think > that general Guile things (like 'lambda*' or 'eval-when') shouldn't be > handled by a Guix emacs library. BTW, all of these Guile things will be > highlighted/indented properly by Geiser 0.8 (see [1], [2]). The future is now! :-) > From a878a1fa51cb8072f7af55309ce457d1425841c6 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Mon, 12 Oct 2015 12:06:32 +0300 > Subject: [PATCH] emacs: devel: Add indentation rules. > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > > Suggested by Ludovic Court=C3=A8s . > > * emacs/guix-devel.el: Add indentation rules for Guix macros/procedures. > (guix-devel-scheme-indent): New macro. > (guix-devel-indent-package): New function. LGTM, thank you! Ludo=E2=80=99.