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: Yuan Fu <casouri <at> gmail.com>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Cc: 61291-done <at> debbugs.gnu.org
Subject: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
Date: Mon, 6 Feb 2023 19:01:41 -0800

> On Feb 5, 2023, at 10:02 PM, Mohammed Sadiq <sadiq <at> sadiqpk.org> wrote:
> 
> On 2023-02-06 04:52, Yuan Fu wrote:
>> 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 seems to have not fixed when tested with the latest build.
> Also, this has broken auto indentation for other code, eg:
> 
> if (true)
> do_something();

Hey sorry, I somehow didn’t actually push the change, while claiming to have done so. The latest commit (now pushed) is working fine AFAICT.

Yuan



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

Previous Next


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