bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#70105: 30.0.50; Emacs should support EditorConfig out of the box
Date: Sat, 08 Jun 2024 15:50:41 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 70105@debbugs.gnu.org, Björn Bidar
>  <bjorn.bidar@thaodan.de>,
>     10sr <8slashes+git@gmail.com>, Jen-Chieh Shen <jcs090218@gmail.com>
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]