* bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code
@ 2023-01-21 12:43 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-26 7:54 ` Yuan Fu
0 siblings, 1 reply; 3+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-01-21 12:43 UTC (permalink / raw)
To: 60984
Hi!
It seems there has been some regressions wrt indentation styles with the
new brace counting code - for example with bsd style:
Previously:
int
main()
{
if (x)
{
}
else
{
}
}
now:
int
main()
{
if (x)
{
}
else
{
}
}
I'll try to tweak the code so that all indentation styles work and add
tests.
Theo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code
2023-01-21 12:43 bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-01-26 7:54 ` Yuan Fu
2023-09-06 0:06 ` Stefan Kangas
0 siblings, 1 reply; 3+ messages in thread
From: Yuan Fu @ 2023-01-26 7:54 UTC (permalink / raw)
To: Theodor Thornhill; +Cc: 60984
Theodor Thornhill <theo@thornhill.no> writes:
> Hi!
>
> It seems there has been some regressions wrt indentation styles with the
> new brace counting code - for example with bsd style:
>
> Previously:
>
> int
> main()
> {
> if (x)
> {
>
> }
> else
> {
>
> }
> }
>
> now:
>
> int
> main()
> {
> if (x)
> {
>
> }
> else
> {
>
> }
> }
>
> I'll try to tweak the code so that all indentation styles work and add
> tests.
>
> Theo
Yeah sorry about that, I think this is fixed now.
Yuan
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code
2023-01-26 7:54 ` Yuan Fu
@ 2023-09-06 0:06 ` Stefan Kangas
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2023-09-06 0:06 UTC (permalink / raw)
To: Yuan Fu; +Cc: 60984-done, Theodor Thornhill
Yuan Fu <casouri@gmail.com> writes:
> Theodor Thornhill <theo@thornhill.no> writes:
>
>> Hi!
>>
>> It seems there has been some regressions wrt indentation styles with the
>> new brace counting code - for example with bsd style:
>>
>> Previously:
>>
>> int
>> main()
>> {
>> if (x)
>> {
>>
>> }
>> else
>> {
>>
>> }
>> }
>>
>> now:
>>
>> int
>> main()
>> {
>> if (x)
>> {
>>
>> }
>> else
>> {
>>
>> }
>> }
>>
>> I'll try to tweak the code so that all indentation styles work and add
>> tests.
>>
>> Theo
>
> Yeah sorry about that, I think this is fixed now.
No further comments within 9 months, so I'm assuming this is fixed.
I'm therefore closing this bug report.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-06 0:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-21 12:43 bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-26 7:54 ` Yuan Fu
2023-09-06 0:06 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).