Subject: Re: bug#70105: 30.0.50; Emacs should support EditorConfig out of the box

From: Stefan Kangas <[email-masked]>
Date: Wed, 19 Jun 2024 19:31:12 +0000

Stefan Monnier <[email-masked]> 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.