GNU bug report logs -
#73991
EditorConfig bundled with Emacs 30 does not set tab-width
Previous Next
Full log
Message #43 received at 73991 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I agree with your point, but since EditorConfig is meant for editor
interoperability,
it would be more productive to discuss this with other text editor
developers on
the EditorConfig mailing list than with Emacs editorconfig-mode users.
I think that bundling a built-in EditorConfig in Emacs will help many Emacs
users
and potential Emacs beginners. I'm very grateful for your work.
2024年10月27日(日) 0:21 Stefan Monnier <monnier <at> iro.umontreal.ca>:
> >>> You can get the same behavior with
> >>>
> >>> indent_size = tab
> >>> tab_width = 4
> >>
> >> The settings mean the same thing,
> >
> > Do they? If so, why prefer the above formulation?
>
> The weird thing about this insistence that indent_size == tab_width and
> that exclusively TAB chars should be used for indentation, is that the
> whole point of that style of indentation is that it looks correct
> regardless of `tab-width`, making the `tab-width` into a user-preference
> that does not need to be enforced in the coding convention (and thus
> shouldn't be set by `.editorconfig`).
>
> In clear, I think the `.editorconfig` file should say just
>
> indent_size = tab
>
> and then every user would set tab-width to the value they like in their
> favorite editor's personal settings.
>
> Anyway, I pushed the last patch, combined with the previous one, to
> `emacs-30`, which I believe should fix the problem you reported.
>
>
> Stefan
>
>
[Message part 2 (text/html, inline)]
This bug report was last modified 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.