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


View this message in rfc822 format

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




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.