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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 08 Jun 2024 15:50:41 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: [email-masked], Björn Bidar
>  <[email-masked]>,
>     10sr <[email-masked]>, Jen-Chieh Shen <[email-masked]>
> Date: Thu, 06 Jun 2024 19:51:37 -0400
> 
> I'm hoping this can get into Emacs-30.
> Comments/objections?

Comments:

> +** 'auto-coding-functions' can know the name of the file.
> +The functions on this hook take can now find the name of the file to
                              ^^^^
The "take" part should probably be removed.

> +@defvar hack-dir-local-get-variables-functions
> +This special hook holds the functions that gather the directory-local
> +variables to use for a given buffer.  By default it contains just the
> +function that obeys the other settings described in the present section.
> +But it can be used to add support for more sources of directory-local
> +variables, such as those used by other text editors.
> +
> +The functions on this hook are called with no argument, in the buffer to
> +which we intend to apply the directory-local variables, after the
> +buffer's major mode function has been run, so it can use sources of

I'm guessing you meant "they", not "it", because this refers to
"functions on this hook", right?

> +directory hierarchy.  Finally, since this hook is run every time we visit
> +a file it is important to try and keep those functions efficient, which
> +will usually require some of caching.
                        ^^^^^^^^^^^^^^^
"some kind of caching", perhaps?