unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64280: Editorconfig and dir-locals in guix source tree contradict each other
@ 2023-06-25 11:30 Jelle Licht
  2023-08-01  5:51 ` Hilton Chain via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Jelle Licht @ 2023-06-25 11:30 UTC (permalink / raw)
  To: 64280

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#64280: Editorconfig and dir-locals in guix source tree contradict each other
  2023-06-25 11:30 bug#64280: Editorconfig and dir-locals in guix source tree contradict each other Jelle Licht
@ 2023-08-01  5:51 ` Hilton Chain via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Hilton Chain via Bug reports for GNU Guix @ 2023-08-01  5:51 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 64280

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@disroot.org/T/#u>
[2]: <https://logs.guix.gnu.org/guix/2022-10-11.log#175548>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-01  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-25 11:30 bug#64280: Editorconfig and dir-locals in guix source tree contradict each other Jelle Licht
2023-08-01  5:51 ` Hilton Chain via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).