Received: (at 36240) by debbugs.gnu.org; 17 Jun 2019 09:39:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 17 05:39:14 2019 Received: from localhost ([127.0.0.1]:41978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hco6Z-000409-QI for submit <at> debbugs.gnu.org; Mon, 17 Jun 2019 05:39:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1hco6Y-0003zx-9P for 36240 <at> debbugs.gnu.org; Mon, 17 Jun 2019 05:39:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1hco6S-0000r8-FW; Mon, 17 Jun 2019 05:39:04 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=55684 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1hco6R-0007tA-OB; Mon, 17 Jun 2019 05:39:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Robert Vollmert <rob@HIDDEN> Subject: Re: bug#36240: indent-code.el is not aware of (package (inherit ...)) style References: <4F2510DB-73D5-4817-804B-21F065E9DE26@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Prairial an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 17 Jun 2019 11:39:00 +0200 In-Reply-To: <4F2510DB-73D5-4817-804B-21F065E9DE26@HIDDEN> (Robert Vollmert's message of "Sun, 16 Jun 2019 09:07:02 +0200") Message-ID: <878su01rgr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36240 Cc: 36240 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Robert, Robert Vollmert <rob@HIDDEN> skribis: > When encountering a package definition that starts > > (package (inherit other-package)) > > etc/indent-code.el will indent the rest of the package body > to align with the start of (inherit. That seems to be a > common idiom, used in roughly half of the instances: > > guix/gnu/packages$ git grep '(inherit ' | wc -l > 905 > guix/gnu/packages$ git grep '(inherit ' | grep package | wc -l > 425 It=E2=80=99s a corner case, and one of the reasons I (and others, I think) = are now usually writing: (package (inherit p) =E2=80=A6) I=E2=80=99m not sure we can teach Emacs the other rule; maybe sometimes we = have to accept limitations like this one. :-) Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#36240
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 16 Jun 2019 07:11:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 16 03:11:52 2019 Received: from localhost ([127.0.0.1]:39607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hcPKS-0005KT-MS for submit <at> debbugs.gnu.org; Sun, 16 Jun 2019 03:11:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rob@HIDDEN>) id 1hcPKR-0005KM-F0 for submit <at> debbugs.gnu.org; Sun, 16 Jun 2019 03:11:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46190) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <rob@HIDDEN>) id 1hcPKQ-0005To-Jw for bug-guix@HIDDEN; Sun, 16 Jun 2019 03:11:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hcPFr-0000Ly-JQ for bug-guix@HIDDEN; Sun, 16 Jun 2019 03:07:08 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:46354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hcPFr-0000Jp-DD for bug-guix@HIDDEN; Sun, 16 Jun 2019 03:07:07 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 95825A1999 for <bug-guix@HIDDEN>; Sun, 16 Jun 2019 09:07:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id WKdcOQLMGSzd for <bug-guix@HIDDEN>; Sun, 16 Jun 2019 09:07:03 +0200 (CEST) From: Robert Vollmert <rob@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: indent-code.el is not aware of (package (inherit ...)) style Message-Id: <4F2510DB-73D5-4817-804B-21F065E9DE26@HIDDEN> Date: Sun, 16 Jun 2019 09:07:02 +0200 To: bug-guix@HIDDEN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.241.60.215 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) When encountering a package definition that starts (package (inherit other-package)) etc/indent-code.el will indent the rest of the package body to align with the start of (inherit. That seems to be a common idiom, used in roughly half of the instances: guix/gnu/packages$ git grep '(inherit ' | wc -l 905 guix/gnu/packages$ git grep '(inherit ' | grep package | wc -l 425
Robert Vollmert <rob@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#36240
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.