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


Message #10 received at 61291-done <at> debbugs.gnu.org (full text, mbox):

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.