emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61291: closed (29.0.60; c-ts-mode: semi-colon after conditionals/loo


From: GNU bug Tracking System
Subject: bug#61291: closed (29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented)
Date: Sun, 05 Feb 2023 23:23:02 +0000

Your message dated Sun, 5 Feb 2023 15:22:26 -0800
with message-id <28303CFA-7C4A-4DAE-8454-98E81070FF86@gmail.com>
and subject line Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after  
conditionals/loops not indented
has caused the debbugs.gnu.org bug report #61291,
regarding 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61291: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61291
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Date: Sun, 05 Feb 2023 14:57:55 +0530
; 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



--- End Message ---
--- Begin Message --- Subject: Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Date: Sun, 5 Feb 2023 15:22:26 -0800
Mohammed Sadiq <sadiq@sadiqpk.org> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]