From: Eli Zaretskii <eliz@gnu.org>
To: Mads Kyed <mads@kyed.de>
Cc: 70908-done@debbugs.gnu.org
Subject: bug#70908: 29.3; Indentation breaks in csharp-mode
Date: Mon, 13 May 2024 09:01:09 +0300 [thread overview]
Message-ID: <86ttj2xnbu.fsf@gnu.org> (raw)
In-Reply-To: <496eaa99-6a48-4a25-81a3-99711ebbb52c@kyed.de> (message from Mads Kyed on Sun, 12 May 2024 19:13:35 +0200)
> Date: Sun, 12 May 2024 19:13:35 +0200
> From: Mads Kyed <mads@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.
prev parent reply other threads:[~2024-05-13 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-12 17:13 bug#70908: 29.3; Indentation breaks in csharp-mode Mads Kyed
2024-05-13 6:01 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86ttj2xnbu.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=70908-done@debbugs.gnu.org \
--cc=mads@kyed.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.