bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59617: 29.0.50; Add indent styles to all tree-sitter modes


From: Theodor Thornhill
Subject: bug#59617: 29.0.50; Add indent styles to all tree-sitter modes
Date: Mon, 28 Nov 2022 14:41:57 +0100

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Theodor Thornhill <theo@thornhill.no>
>> Cc: 59617@debbugs.gnu.org, casouri@gmail.com
>> Date: Mon, 28 Nov 2022 13:38:30 +0100
>> 
>> > Cannot we come up with a couple of popular styles for each language, and
>> > have those styles ready to be selected by simple atom values in the
>> > defcustom?
>> >
>> 
>> I guess we could, but most other languages provided here have a pretty
>> standard coding style, IIRC.
>
> Only one standard style?  I'm surprised.  Even if the variations are much
> less popular, they still deserve to be supported OOTB, IMO.
>
>> Not saying it's not any variations.  This is meant mostly as an escape
>> hatch if needed, so that a user _can_ provide their own indentation style
>> should they need it.
>
> If we don't expect anyone reasonable to try that, fine.  But if we do (and
> a defcustom seems to say we do), then I'd provide a couple of other styles,
> even if they are used much more rarely.
>

Ok, I can supply some more styles.  This bug or a subsequent bug?


>> > P.S. Btw, what about other indentation-related facilities, like "C-c C-q" 
>> > in
>> > CC Mode?
>> 
>> I'm planning on making those, yes
>
> Thanks!

No problem.

Theo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]