Subject: Re: bug#61893: 29.0.60; Indentation in c-ts-mode broken again
From: Eli Zaretskii <[email-masked]>
To: Yuan Fu <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Mon, 06 Mar 2023 14:58:46 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Yuan Fu <[email-masked]>
> Date: Sun, 5 Mar 2023 15:26:45 -0800
> Cc: Theodor Thornhill <[email-masked]>,
>  Daniel Martín <[email-masked]>,
>  [email-masked]
> 
> > Line 3381 of dispnew.c: type "C-e RET" -- point goes to the correct
> > column, but line 3381 is reindented incorrectly.
> 
> This is due to it aligning to the previous sibling, aka the comment. Do we want to skip comments for the “align to the prev sibling” rule?

No, this behavior is okay.

> > Lines 34529 and 34530 of xdisp.c: "C-e RET" produces incorrect column
> > of point and reindents line 34530.
> 
> The preproc directive messed the parse tree, and tree-sitter can’t tell that it’s an else statement, so it can’t be easily fixed sadly.

I see.

Thanks for the other fixes.  I'm closing this bug.