GNU bug report logs - #70908
29.3; Indentation breaks in csharp-mode

Previous Next

Package: emacs;

Reported by: Mads Kyed <mads <at> kyed.de>

Date: Mon, 13 May 2024 05:04:01 UTC

Severity: normal

Found in version 29.3

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 70908-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mads Kyed <mads <at> kyed.de>
Cc: 70908-done <at> debbugs.gnu.org
Subject: Re: bug#70908: 29.3; Indentation breaks in csharp-mode
Date: Mon, 13 May 2024 09:01:09 +0300
> Date: Sun, 12 May 2024 19:13:35 +0200
> From: Mads Kyed <mads <at> kyed.de>
> 
> Hi,
> 
> In csharp-mode the indentation breaks if the keyword "new" is
> used somewhere in a file. For example:
> 
> class A
> {
>       List<int> a = new List<int>();
> }
> 
> Placing the cursor after ; and pressing Return twice, it becomes
> apparent that the indentation no longer works. If the "new" keyword is
> removed, indentation works again.
> 
> It seems there is some new logic (introduced in version 29.3) in the 
> function
> "csharp-guess-basic-syntax" that is responsible for the behaviour
> above.

Thanks.  I can reproduce this in Emacs 29.3, but not on the current
emacs-29 branch or the master branch (which will become Emacs 30).  So
I assume this was already fixed, and I'm therefore closing this bug.




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

Previous Next


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