GNU bug report logs - #64280
Editorconfig and dir-locals in guix source tree contradict each other

Previous Next

Package: guix;

Reported by: Jelle Licht <jlicht <at> fsfe.org>

Date: Sun, 25 Jun 2023 11:31:01 UTC

Severity: normal

To reply to this bug, email your comments to 64280 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64280; Package guix. (Sun, 25 Jun 2023 11:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelle Licht <jlicht <at> fsfe.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 25 Jun 2023 11:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jelle Licht <jlicht <at> fsfe.org>
To: bug-guix <at> gnu.org
Subject: Editorconfig and dir-locals in guix source tree contradict each other
Date: Sun, 25 Jun 2023 13:30:42 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#64280; Package guix. (Tue, 01 Aug 2023 05:53:01 GMT) Full text and rfc822 format available.

Message #8 received at 64280 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Jelle Licht <jlicht <at> fsfe.org>
Cc: 64280 <at> debbugs.gnu.org
Subject: Re: bug#64280: Editorconfig and dir-locals in guix source tree
 contradict each other
Date: Tue, 01 Aug 2023 13:51:29 +0800
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]: <https://yhetil.org/guix/20221011150653.24747-1-paren <at> disroot.org/T/#u>
[2]: <https://logs.guix.gnu.org/guix/2022-10-11.log#175548>




This bug report was last modified 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.