From patchwork Sun Jan 14 00:48:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 58857 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E66B227BBE9; Sun, 14 Jan 2024 00:49:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D877627BBE2 for ; Sun, 14 Jan 2024 00:49:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOogU-0008Mt-0J; Sat, 13 Jan 2024 19:49:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOogR-0008Ml-QS for guix-patches@gnu.org; Sat, 13 Jan 2024 19:49:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOogR-00010N-Il for guix-patches@gnu.org; Sat, 13 Jan 2024 19:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOogQ-0003pU-CU for guix-patches@gnu.org; Sat, 13 Jan 2024 19:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67118] [PATCH 1/1] Update text to refer to "tabulation character." References: In-Reply-To: Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jan 2024 00:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67118@debbugs.gnu.org Cc: Ian Eure Received: via spool by 67118-submit@debbugs.gnu.org id=B67118.170519332314680 (code B ref 67118); Sun, 14 Jan 2024 00:49:02 +0000 Received: (at 67118) by debbugs.gnu.org; 14 Jan 2024 00:48:43 +0000 Received: from localhost ([127.0.0.1]:41371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOog6-0003oi-PG for submit@debbugs.gnu.org; Sat, 13 Jan 2024 19:48:43 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOog5-0003o4-GN for 67118@debbugs.gnu.org; Sat, 13 Jan 2024 19:48:41 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7747F5C010E; Sat, 13 Jan 2024 19:48:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 13 Jan 2024 19:48:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1705193317; x=1705279717; bh=3cYZPfWp9kplLIGwsL5or lIJCkt4rVUebwRjk3Sm7IE=; b=wb9eNn28qh+Dmp9iasXQl17LTsOSoNY0u3Hd3 LScbYu+9XncCGcBoDlFPVYpPpJitX92pFNexlzhfk983vWysI4x56NhiyItw8aR2 7Rki2wATzYF5L/zkWFbSLGR6hl5Hs/UANnv1/swMxQREPRid4l3Lyx24AyKrOPnH BO2d7dRkS2R2FibsNfCOIDML8NVHKgUyxYDkx90HwsVB/WGjpCI1Jx2ucjaM5/tQ oBrbsU51N8cB0Jcl1q3eAsLtcGFXRLXIwF4cLBc9i+hQGVhwd4rivolXpHfs736p zmtJxM8LO/lAQBu2TO4OWdbURvEwkAnyfgOtt4BAMVMX5znjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1705193317; x=1705279717; bh=3cYZPfWp9kplLIGwsL5orlIJCkt4 rVUebwRjk3Sm7IE=; b=9jgeev7kjxeFL/HJLmct8BtW/xbYML3yMNLCnkPXM0hv nnGwlYGTwer3z0kx6QJDQ229vr3/siBWhQShiLhuQruxLD/JneIp+JYSHYiM69mc GIwSFfNpCKG2VgYfzq9o48F1AAOrA9rynXKgJQOSWW5nNyfQbPNTLKtxFWVSICEv aDcpiB0vGFR7vPvCar+UUFgRpanrx+9Tcp4oOYPS1VB8HskLIP5pA6XCo3ZjUCst d33PjmzTuCWgvSSpbvkvjCr6YtcnX+ryZbXr+w5gOlcp/RuO4UKsBtdqVthk4mu+ cjuZLaJMb48uQ+997VhM0L2d2NPDos6s56IKdQH3Xw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeikedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggtrdht vheqnecuggftrfgrthhtvghrnhephfeiveeliedukeffhefhleeijedtveelleetgefggf ehkeeljeehtdeguddvvefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrthhv X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 13 Jan 2024 19:48:36 -0500 (EST) From: Ian Eure Date: Sat, 13 Jan 2024 16:48:33 -0800 Message-ID: <20240114004833.6152-1-ian@retrospec.tv> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Change-Id: I8de95149502e6cb1458e9f4102895395865d7000 --- doc/guix.texi | 2 +- guix/lint.scm | 4 ++-- tests/lint.scm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index a648a106b3..bf9b1fd5aa 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15513,7 +15513,7 @@ declare them as in this example: @item formatting Warn about obvious source code formatting issues: trailing white space, -use of tabulations, etc. +use of ASCII tabulation characters, etc. @item input-labels Report old-style input labels that do not match the name of the diff --git a/guix/lint.scm b/guix/lint.scm index 861e352b93..fbdf1e5b9f 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -1774,12 +1774,12 @@ (define (check-haskell-stackage package) ;;; (define (report-tabulations package line line-number) - "Warn about tabulations found in LINE." + "Warn about ASCII tabulation characters found in LINE." (match (string-index line #\tab) (#f #f) (index (make-warning package - (G_ "tabulation on line ~a, column ~a") + (G_ "tabulation character (0x09) on line ~a, column ~a") (list line-number index) #:location (location (package-file package) diff --git a/tests/lint.scm b/tests/lint.scm index a52a82237b..75afd3ecdb 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -1307,7 +1307,7 @@ (define (package-with-phase-changes changes) (test-assert "formatting: tabulation" (string-match-or-error - "tabulation on line [0-9]+, column [0-9]+" + "tabulation character \\(0x09\\) on line [0-9]+, column [0-9]+" (single-lint-warning-message (check-formatting (dummy-package "leave the tab here: ")))))