GNU bug report logs - #65006
29.1.50; c-ts-mode: else block not indented right on TAB

Previous Next

Package: emacs;

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

Date: Wed, 2 Aug 2023 02:44:01 UTC

Severity: normal

Merged with 65026

Found in versions 29.1.50, 30.0.50

Fixed in version 29.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 65006 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>, Yuan Fu <casouri <at> gmail.com>
Cc: 65006 <at> debbugs.gnu.org
Subject: Re: bug#65006: 29.1.50;
 c-ts-mode: else block not indented right on TAB
Date: Wed, 02 Aug 2023 14:32:53 +0300
> Date: Wed, 02 Aug 2023 08:13:08 +0530
> From: Mohammed Sadiq <sadiq <at> sadiqpk.org>
> 
> The else block in the following code is not indented on TAB:
> 
> int
> main (void)
> {
>    if (true)
>      do_something ();
>    else
> do_something_else ();
> }
> 
> How to reproduce:
> 1. Select the complete buffer
> 2. Press TAB
> 
> Expected result:
> do_something_else() should be indented
> 
> afair, this did seem to work in the past.  May be this
> happened after I updated treesitter-c module, idk.

Thank you for your report.

Yuan, can you look into this, please?




This bug report was last modified 1 year and 303 days ago.

Previous Next


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