From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#36240: indent-code.el is not aware of (package (inherit ...)) style Date: Sun, 16 Jun 2019 09:07:02 +0200 Message-ID: <4F2510DB-73D5-4817-804B-21F065E9DE26@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46413) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcPKd-0005YA-Sh for bug-guix@gnu.org; Sun, 16 Jun 2019 03:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcPKc-0007KH-Vi for bug-guix@gnu.org; Sun, 16 Jun 2019 03:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcPKc-0007IT-OI for bug-guix@gnu.org; Sun, 16 Jun 2019 03:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcPKc-0005Ky-CJ for bug-guix@gnu.org; Sun, 16 Jun 2019 03:12:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:46190) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcPKQ-0005To-Jw for bug-guix@gnu.org; Sun, 16 Jun 2019 03:11:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcPFr-0000Ly-JQ for bug-guix@gnu.org; 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 ) id 1hcPFr-0000Jp-DD for bug-guix@gnu.org; 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 ; Sun, 16 Jun 2019 09:07:04 +0200 (CEST) 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 ; Sun, 16 Jun 2019 09:07:03 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36240@debbugs.gnu.org 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