Subject: bug#61291: closed (Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 05 Feb 2023 23:23:02 +0000

Your bug report

#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61291: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61291
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
From: Yuan Fu <[email-masked]>
To: Mohammed Sadiq <[email-masked]>
Cc: [email-masked]
Date: Sun, 5 Feb 2023 15:22:26 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Mohammed Sadiq <[email-masked]> writes:

> ; in the following code is not indented:
>
> while (str_a[i++] == str_b[j++])
> ;
>
> expected indentation:
>
> while (str_a[i++] == str_b[j++])
>   ;

Thanks! I pushed a fix.

Yuan

Subject: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
From: Mohammed Sadiq <[email-masked]>
To: [email-masked]
Date: Sun, 05 Feb 2023 14:57:55 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

; in the following code is not indented:

while (str_a[i++] == str_b[j++])
;

expected indentation:

while (str_a[i++] == str_b[j++])
   ;

In GNU Emacs 29.0.60 (build 12, x86_64-pc-linux-gnu, GTK+ Version
  3.24.36, cairo version 1.16.0) of 2023-02-05 built on purism
Repository revision: 2c33e2889b4d711689a606d175ff56931c157fb4
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101006
System Description: Debian GNU/Linux bookworm/sid