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

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

bug#60984: closed (30.0.50; c-ts-mode: indentation styles broken after n


From: GNU bug Tracking System
Subject: bug#60984: closed (30.0.50; c-ts-mode: indentation styles broken after new brace code)
Date: Wed, 06 Sep 2023 00:07:02 +0000

Your message dated Tue, 5 Sep 2023 17:06:44 -0700
with message-id 
<CADwFkm=XSpd9Eqrv6c-7infZNq_QfEEkrQyOP5xd_rUosS8LGA@mail.gmail.com>
and subject line Re: bug#60984: 30.0.50; c-ts-mode: indentation styles broken 
after new brace code
has caused the debbugs.gnu.org bug report #60984,
regarding 30.0.50; c-ts-mode: indentation styles broken after new brace code
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60984: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60984
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; c-ts-mode: indentation styles broken after new brace code Date: Sat, 21 Jan 2023 13:43:12 +0100
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#60984: 30.0.50; c-ts-mode: indentation styles broken after new brace code Date: Tue, 5 Sep 2023 17:06:44 -0700
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.


--- End Message ---

reply via email to

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