Re: c-ts-mode: How to set indent-style in dir-locals
Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]> Tue, 19 May 2026 01:48:22 +0200
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > Should not the solution be that (one day) Emacs will process > ‘.dir-locals.el’ files differently than it does now so that > variables and user options are set appropriately and > transparently so that users can simply write the expressions > using the same syntax for both? I haven't thought about it, but that would probably fit the expectations of most users, especially of new ones. Until lately, user options were affecting the global state only. But it makes sense that the code we use to affect existing buffers is available on its own, and this at the end probably leads to the exact semantics you wish for. I hope that in reality this is as concise and consistent as it sounds. Michael.