GNU bug report logs - #70105
30.0.50; Emacs should support EditorConfig out of the box

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 31 Mar 2024 13:45:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: jcs090218 <at> gmail.com, bjorn.bidar <at> thaodan.de, Eli Zaretskii <eliz <at> gnu.org>,
 8slashes+git <at> gmail.com, 70105 <at> debbugs.gnu.org
Subject: Re: bug#70105: 30.0.50;
 Emacs should support EditorConfig out of the box
Date: Wed, 19 Jun 2024 19:31:12 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> In other words, when you have:
>>
>>     /foo/bar/.dir-locals.el
>>     /foo/bar/.editorconfig
>
> `.dir-locals.el` should take precedence in that case.

How does this read?

    When both @file{.editorconfig} and @code{.dir-locals.el} files are found
    and they both set the same settings, the nearest file take precedence.
    If they are equally close, @file{.dir-locals.el} takes precedence.




This bug report was last modified 329 days ago.

Previous Next


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