unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 61291-done@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	[thread overview]
Message-ID: <B4AE1F18-F3A0-461D-BC16-165584F5C511@gmail.com> (raw)
In-Reply-To: <de35398933d34102f7e5bed6fc14107f@sadiqpk.org>



> On Feb 5, 2023, at 10:02 PM, Mohammed Sadiq <sadiq@sadiqpk.org> wrote:
> 
> On 2023-02-06 04:52, Yuan Fu wrote:
>> Mohammed Sadiq <sadiq@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




      reply	other threads:[~2023-02-07  3:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05  9:27 bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Mohammed Sadiq
2023-02-05 23:22 ` Yuan Fu
2023-02-06  6:02   ` Mohammed Sadiq
2023-02-07  3:01     ` Yuan Fu [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=B4AE1F18-F3A0-461D-BC16-165584F5C511@gmail.com \
    --to=casouri@gmail.com \
    --cc=61291-done@debbugs.gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).