all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mohammed Sadiq <sadiq@sadiqpk.org>, Yuan Fu <casouri@gmail.com>
Cc: 65006@debbugs.gnu.org
Subject: bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB
Date: Wed, 02 Aug 2023 14:32:53 +0300	[thread overview]
Message-ID: <83zg39znkq.fsf@gnu.org> (raw)
In-Reply-To: <59aa8ff84460f695fbf94db4849f1596@sadiqpk.org> (message from Mohammed Sadiq on Wed, 02 Aug 2023 08:13:08 +0530)

> Date: Wed, 02 Aug 2023 08:13:08 +0530
> From: Mohammed Sadiq <sadiq@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?





  reply	other threads:[~2023-08-02 11:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02  2:43 bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB Mohammed Sadiq
2023-08-02 11:32 ` Eli Zaretskii [this message]
2023-08-02 16:03   ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-07 16:42     ` Yuan Fu
2023-08-07 18:29       ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 16:46   ` Yuan Fu
2023-08-02 17:05     ` Eli Zaretskii
2023-08-03  0:45       ` Yuan Fu
2023-08-03  6:37         ` Eli Zaretskii
2023-08-07 19:26           ` john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-08 11:02             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zg39znkq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65006@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=sadiq@sadiqpk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.