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

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Sun, 5 Feb 2023 09:29:01 UTC

Severity: normal

Found in version 29.0.60

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Yuan Fu <casouri <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
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
[Message part 1 (text/plain, inline)]
Your message dated Sun, 5 Feb 2023 15:22:26 -0800
with message-id <28303CFA-7C4A-4DAE-8454-98E81070FF86 <at> 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 <at> gnu.org.)


-- 
61291: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61291
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mohammed Sadiq <sadiq <at> sadiqpk.org>
To: bug-gnu-emacs <at> gnu.org
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


[Message part 3 (message/rfc822, inline)]
From: Yuan Fu <casouri <at> gmail.com>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Cc: 61291-done <at> debbugs.gnu.org
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 <at> 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


This bug report was last modified 2 years and 101 days ago.

Previous Next


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