From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IEl+O4pVjmH2CAEAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 12:52:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OPgQN4pVjmE5ZwAAbx9fmQ (envelope-from ) for ; Fri, 12 Nov 2021 11:52:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C824932108 for ; Fri, 12 Nov 2021 12:52:42 +0100 (CET) Received: from localhost ([::1]:51560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlV6o-0002nd-11 for larch@yhetil.org; Fri, 12 Nov 2021 06:52:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlV6c-0002nC-OU for help-guix@gnu.org; Fri, 12 Nov 2021 06:52:30 -0500 Received: from lepiller.eu ([89.234.186.109]:36554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlV6a-0003hG-4r for help-guix@gnu.org; Fri, 12 Nov 2021 06:52:30 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id d945e60b; Fri, 12 Nov 2021 11:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=3nTaOFOl68cC gUZbvme4BzLJJgSVwxUMzDT54JBv5Oc=; b=QJqdZdwk5omCgihXM+k0Lcq3D/Jb VpNydtgb9QywcBjkrDbrTLGBr6k9rdtilgLX8npu/0Ks1ZHo+J9+RDwyE0P1twzq Uf0P0+dT/ixhCKHkNExe6NgTmK/ZR/reqO7Q9eqYKQSjl+/aYV+M/IVOgKEWrM2N 8GWF4ur4S47O2VcyE+evr56NeBk+pzi21ie8VUZO1K7sd2jOT8RUKcIsVZeE7Toz Au3sW+qMXXiEa1Y74VhX4TDZRzeEHb+xqzTuedKsBh2ti7WRirMuhMJCFtzFsqA+ La4bih/UoMvlrun+7UoHj5XMQchULoqgZsIcVWvo54xLLWcDee0vc5JzAw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b70cfa08 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 12 Nov 2021 11:52:20 +0000 (UTC) Date: Fri, 12 Nov 2021 06:52:09 -0500 From: Julien Lepiller To: help-guix@gnu.org, Blake Shaw Subject: Re: packages won't pass white space linting -- what am I doing wrong? User-Agent: K-9 Mail for Android In-Reply-To: <877dddua9y.fsf@nonconstructivism.com> References: <877dddua9y.fsf@nonconstructivism.com> Message-ID: <061382D5-5700-4111-BDA2-A8C68C7DCA98@lepiller.eu> MIME-Version: 1.0 Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: C824932108 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: OaU+m0C+82kp Hi, it looks like the linter is correct: there is a tab at the beginning of= the lines 31, 32 and following=2E We don't use tabs for identation, please= replace them with spaces as suggested by the linter :) Le 12 novembre 2021 02:02:17 GMT-05:00, Blake Shaw a =C3=A9crit=C2=A0: > >hiya guix, > >I have a set of packages ready to send upstream, but I can't seem to >to get them to pass tabulation tests in the linter=2E as an example, I >here is the package notcurses which builds and installs fine, yet while >I wrote it using `guix-devel-mode` in emacs and its thus indented >accordingly, when I lint it I get: > >```bash >error: TODO:: unbound variable >hint: Did you forget a `use-modules' form? > >~/src/rml/unguix/notcurses=2Escm:31:0: notcurses@2=2E4=2E9: tabulation on= line 31, column 0 >~/src/rml/unguix/notcurses=2Escm:32:0: notcurses@2=2E4=2E9: tabulation on= line 32, column 0 >[=2E=2E=2E] ;;and so on for each line until the end of the file=2E >``` >the package definition is available here: >https://git=2Esr=2Eht/~cybersyn/rml/tree/devel/item/unguix/notcurses=2Esc= m > >while it appears to look like other package definitions, I can't seem to >figure out what the issue is=2E I tried disabling lispy-mode, a paredit >like emacs mode, re-tabulating and linting again, but it produce the >same result=2E > >could this perhaps be a bug in the linter? > >best, >blake > >--=20 >=E2=80=9CIn girum imus nocte et consumimur igni=E2=80=9D >