Editorconfig and dir-locals in guix source tree contradict each other

  • Open
  • quality assurance status badge
Details
2 participants
  • Hilton Chain
  • Jelle Licht
Owner
unassigned
Submitted by
Jelle Licht
Severity
normal

Debbugs page

Jelle Licht wrote 2 years ago
(address . bug-guix@gnu.org)
87352fsrrx.fsf@fsfe.org
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
Hilton Chain wrote 2 years ago
(name . Jelle Licht)(address . jlicht@fsfe.org)(address . 64280@debbugs.gnu.org)
875y5zs42m.wl-hako@ultrarare.space
Hi Jelle,

On Sun, 25 Jun 2023 19:30:42 +0800,
Jelle Licht wrote:
Toggle quote (10 lines)
> 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

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 64280@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64280
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help