From unknown Fri Jun 13 13:37:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64280: Editorconfig and dir-locals in guix source tree contradict each other Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 25 Jun 2023 11:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64280 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64280@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168769265520123 (code B ref -1); Sun, 25 Jun 2023 11:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2023 11:30:55 +0000 Received: from localhost ([127.0.0.1]:42099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDNxG-0005Dk-Pv for submit@debbugs.gnu.org; Sun, 25 Jun 2023 07:30:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:48480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDNxD-00055Z-Hu for submit@debbugs.gnu.org; Sun, 25 Jun 2023 07:30:53 -0400 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 1qDNxD-00018c-8j for bug-guix@gnu.org; Sun, 25 Jun 2023 07:30:51 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDNxB-0006sV-1d for bug-guix@gnu.org; Sun, 25 Jun 2023 07:30:51 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1687692643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=6bFH5fpAlbHM2P89rddMqAxmTOSz0wEZXcxr5gJkktA=; b=fZQnTgXwvqn/nDKAti4GGuglq6dgJ1WpabMNDeUWZXsXWQqUd00/cIj3zCNt8glUQ+SSJj nPlRf/BML4+85vtKWf7ozZJ8deWvE6N26uUEMxUnra75gq4TID3lIWDqixVyB+tpoXQOtG IKAWITUH8IDcWG8Scm7eivuUXI5/ozo= Date: Sun, 25 Jun 2023 13:30:42 +0200 Message-ID: <87352fsrrx.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.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, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi all, I found my Emacs using a fill-column value of 85 while hacking on the guix source tree. Turns out it's an interaction between the emacs package editorconfig-mode (which I use). Easy workaround: turn this mode off when hacking on guix. A contradiction between .dir-locals.el and the .editorconfig file in guix exists: max_line_length of 85 in .editorconfig for most files in guix vs fill-column of 78 in dir-locals.el for all files in guix I don't know which of these values is supposed to be leading, or whether they configure the exact same thing in all situations. Cheers, Jelle From unknown Fri Jun 13 13:37:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64280: Editorconfig and dir-locals in guix source tree contradict each other Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Aug 2023 05:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64280 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Cc: 64280@debbugs.gnu.org Received: via spool by 64280-submit@debbugs.gnu.org id=B64280.169086913617008 (code B ref 64280); Tue, 01 Aug 2023 05:53:01 +0000 Received: (at 64280) by debbugs.gnu.org; 1 Aug 2023 05:52:16 +0000 Received: from localhost ([127.0.0.1]:46974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQiIq-0004QF-CE for submit@debbugs.gnu.org; Tue, 01 Aug 2023 01:52:16 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:39254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQiIo-0004Q6-OI for 64280@debbugs.gnu.org; Tue, 01 Aug 2023 01:52:15 -0400 Date: Tue, 01 Aug 2023 13:51:29 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1690868846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nOs1aJ0o8RmsKgrYzkypeRzB5+m3urMr1R3PJESyFRA=; b=gyq0VUBqVHp/E9OucqqsTQ4fHs6ZOJXbX/+35OptI4Wh/d5RLSKA7mLGCDagU7sGZ2XuRi n8B0Qv+Oux4LmFyk55z0y2+x24F7Iy/3TV2JblUq3IEc+Uu9LsOLX0/ccrZvRqgDXC284B eLJtjA5wSxlBkBAWpq6chhgyzYtKS56PpTqc8A1T8zRwupkdiltZjvUDgWJII1QzmnRy8t VBzFl+j4NAduvLwGiC7575dmj2uY+3e4SPrTD1ftxdGX3BrJ/zk5ux4AYuli5S3SkhC6mt tE29ZxOHBO4oqe+VA0YaLz9pCfztY8iIXq+bYdc4ZwLSt9VwfYqEazuqgq49GA== Message-ID: <875y5zs42m.wl-hako@ultrarare.space> From: Hilton Chain In-Reply-To: <87352fsrrx.fsf@fsfe.org> References: <87352fsrrx.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Jelle, On Sun, 25 Jun 2023 19:30:42 +0800, Jelle Licht wrote: > A contradiction between .dir-locals.el and the .editorconfig file in > guix exists: > > max_line_length of 85 in .editorconfig for most files in guix > vs > fill-column of 78 in dir-locals.el for all files in guix > > I don't know which of these values is supposed to be leading, or whether > they configure the exact same thing in all situations. I'm curious about this as well. From the submission thread [1], it seems to have been discussed on IRC, and I think it happened here [2]. Thanks [1]: [2]: