GNU bug report logs - #69571
29.2; csharp-mode indentation: Misaligned closing brace in blocks starting below "new"

Previous Next

Package: emacs;

Reported by: Carlos <carlos <at> cvkm.cz>

Date: Tue, 5 Mar 2024 21:49:02 UTC

Severity: normal

Found in version 29.2

Fixed in version 29.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Theodor Thornhill <theo <at> thornhill.no>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Carlos <carlos <at> cvkm.cz>, 69571 <at> debbugs.gnu.org
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 <at> 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




This bug report was last modified 1 year and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.