X-Loop: help-debbugs@HIDDEN Subject: bug#36240: indent-code.el is not aware of (package (inherit ...)) style Resent-From: Robert Vollmert <rob@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 16 Jun 2019 07:12:02 +0000 Resent-Message-ID: <handler.36240.B.156066911320494 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 36240 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 36240 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.156066911320494 (code B ref -1); Sun, 16 Jun 2019 07:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jun 2019 07:11:53 +0000 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\)) Message-Id: <4F2510DB-73D5-4817-804B-21F065E9DE26@HIDDEN> Date: Sun, 16 Jun 2019 09:07:02 +0200 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Robert Vollmert <rob@HIDDEN> Subject: bug#36240: Acknowledgement (indent-code.el is not aware of (package (inherit ...)) style) Message-ID: <handler.36240.B.156066911320494.ack <at> debbugs.gnu.org> References: <4F2510DB-73D5-4817-804B-21F065E9DE26@HIDDEN> X-Gnu-PR-Message: ack 36240 X-Gnu-PR-Package: guix Reply-To: 36240 <at> debbugs.gnu.org Date: Sun, 16 Jun 2019 07:12:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 36240 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 36240: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36240 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#36240: indent-code.el is not aware of (package (inherit ...)) style Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 17 Jun 2019 09:40:02 +0000 Resent-Message-ID: <handler.36240.B36240.156076435415392 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 36240 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Robert Vollmert <rob@HIDDEN> Cc: 36240 <at> debbugs.gnu.org Received: via spool by 36240-submit <at> debbugs.gnu.org id=B36240.156076435415392 (code B ref 36240); Mon, 17 Jun 2019 09:40:02 +0000 Received: (at 36240) by debbugs.gnu.org; 17 Jun 2019 09:39:14 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> 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-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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.