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

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

bug#69571: 29.2; csharp-mode indentation: Misaligned closing brace in bl


From: Theodor Thornhill
Subject: bug#69571: 29.2; csharp-mode indentation: Misaligned closing brace in blocks starting below "new"
Date: Sun, 31 Mar 2024 10:57:54 +0200

Mattias Engdegård <mattias.engdegard@gmail.com> writes:

>> -         (looking-at ".*new.*")))
>> +         (looking-at "^[^//]*new[^//]*;$")))
>
>
> That regexp doesn't look right: [^//] doesn't mean "no occurrence of 
> double-slash" but is just the same as [^/].

Pushed a new commit doing more shenanigans here, along with more tests.

Thanks
theo





reply via email to

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