Re: c-ts-mode: How to set indent-style in dir-locals

[email protected] Mon, 25 May 2026 15:45:47 -0400
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Stefan Monnier via Users list for the GNU Emacs text editor
<[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?  That is, the following
>> expression would set the user option
>> ‘c-ts-mode-indent-style’:
>>
>>  ((c-mode . ((c-ts-mode-indent-style . bsd)))))
>
> Yes, that would make a lot of sense.
> I suggest you `M-x report-emacs-bug`.
>

Done.  This has been assigned as <bug#81120>.  Let’s see if
it is accepted.

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.