This is probably somewhat out of scope but because this package is the best option for setting the indentation of a buffer and is already aware of all the indent variables associated with the various major-modes, I'm hoping you'd be receptive to supporting querying this value as well.
To give some context I'm one of the maintainers of apheleia. This is a package that lets you call formatter programs like black, clang-format, prettifier, etc. and update the text in the current Emacs buffer. A common need for a package like this is knowing what value to set the tab-width. Currently we maintain a partial list of common mode->variable associations but I think this is something better owned by editorconfig. I had thought we could just enumerate editorconfig-indentation-alist for this but the support for functional setters kind of breaks this :/.
If you're okay with it I'd like to add support for this to editorconfig and am open to suggestions on how to do this.
This is probably somewhat out of scope but because this package is the best option for setting the indentation of a buffer and is already aware of all the indent variables associated with the various major-modes, I'm hoping you'd be receptive to supporting querying this value as well.
To give some context I'm one of the maintainers of apheleia. This is a package that lets you call formatter programs like black, clang-format, prettifier, etc. and update the text in the current Emacs buffer. A common need for a package like this is knowing what value to set the tab-width. Currently we maintain a partial list of common mode->variable associations but I think this is something better owned by editorconfig. I had thought we could just enumerate editorconfig-indentation-alist for this but the support for functional setters kind of breaks this :/.
If you're okay with it I'd like to add support for this to editorconfig and am open to suggestions on how to do this.