From unknown Mon Jun 16 23:55:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61291 <61291@debbugs.gnu.org> To: bug#61291 <61291@debbugs.gnu.org> Subject: Status: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Reply-To: bug#61291 <61291@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:55:27 +0000 retitle 61291 29.0.60; c-ts-mode: semi-colon after conditionals/loops not i= ndented reassign 61291 emacs submitter 61291 Mohammed Sadiq severity 61291 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 04:28:14 2023 Received: (at submit) by debbugs.gnu.org; 5 Feb 2023 09:28:14 +0000 Received: from localhost ([127.0.0.1]:44080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pObJl-0002j1-Ug for submit@debbugs.gnu.org; Sun, 05 Feb 2023 04:28:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:47930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pObJh-0002ir-Cp for submit@debbugs.gnu.org; Sun, 05 Feb 2023 04:28:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pObJg-0007to-WD for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 04:28:09 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pObJd-0006yA-Ih for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 04:28:08 -0500 Received: (Authenticated sender: sadiq@sadiqpk.org) by mail.gandi.net (Postfix) with ESMTPA id C3BD960004 for ; Sun, 5 Feb 2023 09:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=gm1; t=1675589279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aITWnR421fJFnsUNGTZBNmpdSgoNFM4/ohMshgMFGy4=; b=f7ItF2LWo6VXwsIfAQSFb8f0uSChT7DwAwW741D0SbuP5P7JxtD4Niemn7ApixTjFJMMGQ f0MP1WuBpOmAfXEKZIsyU7dtFxMo7VBwe19qD2SZrkFoBMjpSOwFX71D+iS0zs/f8Gcz/U urPc3dUlVPMSyoo0vCMKl1HomEQQXQet2nM6w1Bd3nWI5VpcBsmtrr8vRV74A2j9bPIQSi N//I2CVd3+dn3BWpBNvzQgKKhO5a6MmXgwt1xrrr8jpStPqLlEiltXMBbUo2jkdfhJw3pD LoAdoBM+cWOJDE4E98HfPU8X8EOOTcGYeFAX+ocMem3NwwqdDzLKLA8NWkcpaQ== MIME-Version: 1.0 Date: Sun, 05 Feb 2023 14:57:55 +0530 From: Mohammed Sadiq To: bug-gnu-emacs@gnu.org Subject: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Message-ID: <9be54c00ebf993cb33a549db621b506f@sadiqpk.org> X-Sender: sadiq@sadiqpk.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=sadiq@sadiqpk.org; helo=relay3-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) ; in the following code is not indented: while (str_a[i++] == str_b[j++]) ; expected indentation: while (str_a[i++] == str_b[j++]) ; In GNU Emacs 29.0.60 (build 12, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.16.0) of 2023-02-05 built on purism Repository revision: 2c33e2889b4d711689a606d175ff56931c157fb4 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101006 System Description: Debian GNU/Linux bookworm/sid From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 18:22:47 2023 Received: (at 61291-done) by debbugs.gnu.org; 5 Feb 2023 23:22:47 +0000 Received: from localhost ([127.0.0.1]:46686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOoLP-0005ki-Ep for submit@debbugs.gnu.org; Sun, 05 Feb 2023 18:22:47 -0500 Received: from mail-pf1-f175.google.com ([209.85.210.175]:34598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOoLN-0005kU-9V for 61291-done@debbugs.gnu.org; Sun, 05 Feb 2023 18:22:46 -0500 Received: by mail-pf1-f175.google.com with SMTP id cr11so7196569pfb.1 for <61291-done@debbugs.gnu.org>; Sun, 05 Feb 2023 15:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=IijBGECw6VQNktoawVnWinSMF6oHh4uClnnjZ3rfxpo=; b=o5xZqEEJgi6M7sJEgGDrReX16jgtogpo867ji7V30H2Sm/v3ceqmk1hXahm0zqkA8n 6EISkJLjD+iBxnIMCj6GLk4U+IqBPMItrO1ZJcmllWH8FYVZ8m+QrFliioa6ijW4So1q SPkw/LzX8g7jWhGJKvJltgFDeqy4nhHr4Sg6jRVOWlC6GP4uoZh23lKU7jMCVgK2c1rq BGwv/wVQyaCFUgFX/UAmdzI+dTX0tVtfC4zcknWRHiLXa5Wl2tjz5pkkzjhyL17O2W3b qu0O3gdep+Cc1Wag2ehe2+J0xOjrhqNBxtVOiHZpXz5zkkIaLDf5Q9gRD74wOVadpqQ2 Ss4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IijBGECw6VQNktoawVnWinSMF6oHh4uClnnjZ3rfxpo=; b=hDHmxRkfeDGBeMm42VHBDkq5KwdEWAQX31qRW81Cvl6zVwLqBieGa14t0+6Nh+yFHU QCi0Nl7K+OxqsB1qd12CkRnPlJOOokNEtP2TfEUjDNA6Mrk/FD43RN+bS+2EKCTGLrN5 o3BbNXb9iJSzMuDov8Qje8GXUGiMTnT3so/nHYr1Oy3NCZHxPLP276t9kqCuDqLUi/fk uBZ9kc3AJz3WXzWcMBFLr0KWUl9EqQnMxP/kjVTFL0LiMjwJI22Tlal4v5lTusoy6sjI JgB21rVfoUq3HcQ8vobFgCKrG/QvKKLJcN+laiRtwlAVjzTR7/Hn86L/vphPAX4FyIFR Ex8g== X-Gm-Message-State: AO0yUKXf6lb9YpvNCG5di541p0jefkhe+ARABHLogRbF2Qg/lXrceGWR JLUJg1EmfiOz+SiMgCDHhcA= X-Google-Smtp-Source: AK7set/Ac+fTv8QZxr7Oxm7r+gcDF6YB7lmCwzoyTU/jpMom21apLtE4CNZxiLXAVc2JzfKhXiEX+Q== X-Received: by 2002:a05:6a00:2314:b0:593:3c37:fa75 with SMTP id h20-20020a056a00231400b005933c37fa75mr20992240pfh.1.1675639359373; Sun, 05 Feb 2023 15:22:39 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id a22-20020aa78656000000b00582388bd80csm5621739pfo.83.2023.02.05.15.22.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Feb 2023 15:22:38 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented Message-Id: <28303CFA-7C4A-4DAE-8454-98E81070FF86@gmail.com> Date: Sun, 5 Feb 2023 15:22:26 -0800 To: Mohammed Sadiq X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61291-done Cc: 61291-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mohammed Sadiq 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 01:02:29 2023 Received: (at 61291-done) by debbugs.gnu.org; 6 Feb 2023 06:02:29 +0000 Received: from localhost ([127.0.0.1]:47218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuaD-0003yk-8z for submit@debbugs.gnu.org; Mon, 06 Feb 2023 01:02:29 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:41717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOuaB-0003yX-2V for 61291-done@debbugs.gnu.org; Mon, 06 Feb 2023 01:02:28 -0500 Received: (Authenticated sender: sadiq@sadiqpk.org) by mail.gandi.net (Postfix) with ESMTPA id 7443860003; Mon, 6 Feb 2023 06:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=gm1; t=1675663340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=70WXzMiyHTbrU3DYG4PZ7NKMrpfBuM3R1Kc6fnLM7JU=; b=TJ30D9ux1mTmke4wIpojMrSoevsJC4s2mxU8SaNErjjyC5vkQ7VFeuKOHBt7gnwoX25JTw FozD+xDe57fmFzHOOfGegDXLheHszD3WyXeJ0GyAjYCbO04xfREvguJE3qArtajdy67Xrc /szYX+c5u4FVNBuRkyYuOi/3xZyIZKvZ1s/a1QNLFJbizg7FY23h40VArse5KisugmAf2n pLd4nBvyQbQQAO2fMK1Trd2+DBE/nInTLvglznT33xp13Ou6gidJ08N6odyfCxaVCEGgsL b5XM00CbxC/2mqm881+a8s8vqvd71X2y9CBfpcmIE6F56eUzK62auSx8xGIj8w== MIME-Version: 1.0 Date: Mon, 06 Feb 2023 11:32:20 +0530 From: Mohammed Sadiq To: Yuan Fu Subject: Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented In-Reply-To: <28303CFA-7C4A-4DAE-8454-98E81070FF86@gmail.com> References: <28303CFA-7C4A-4DAE-8454-98E81070FF86@gmail.com> Message-ID: X-Sender: sadiq@sadiqpk.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61291-done Cc: 61291-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2023-02-06 04:52, Yuan Fu wrote: > Mohammed Sadiq 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(); From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 22:29:04 2023 Received: (at 61291-done) by debbugs.gnu.org; 7 Feb 2023 03:29:04 +0000 Received: from localhost ([127.0.0.1]:50559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPEfH-0007Bc-RT for submit@debbugs.gnu.org; Mon, 06 Feb 2023 22:29:04 -0500 Received: from mail-vs1-f42.google.com ([209.85.217.42]:33642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPEfG-0007B9-EH for 61291-done@debbugs.gnu.org; Mon, 06 Feb 2023 22:29:03 -0500 Received: by mail-vs1-f42.google.com with SMTP id y8so14971349vsq.0 for <61291-done@debbugs.gnu.org>; Mon, 06 Feb 2023 19:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LppMdCFtDiIChXeY9y6PZ6ASTHPAT9T8EAdc7h9tllg=; b=hbpdv9U4yvtuTRi+VEl7ruHeKGmddRdnGu6zZqRq7on+GIxBtATBdqKxMZkRocx0JX gnUTFhHa9Lk7kkDNpIWhgeRv1znh+W+tKdn1otr4sFQJHQKI+F2tJDmMiC+0Lxii/K4o gVZZcJX4VXQAWM5rEafuGtCEXPDr8LCSZjAnCeD2AHiFxvmj0zFNghRmt1L19d6CM7ku Hioh+OD6+j7tpjEKMcQ1tYKfRK4qxZLYBeVfo16PYYNRc3POrNb9HN+8JFAzgc0J9iW2 eqgYepOCFw5iBJftfRNOqe7mqOLpmVrXpCe6zlpOikUxOC/unf4Tl1zwJlyjyjMMzk8y 5M3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LppMdCFtDiIChXeY9y6PZ6ASTHPAT9T8EAdc7h9tllg=; b=vCL1MX4EWxg2Tx8QlBbEjBx1m9G3pREo0Me3xF9WLx/xemMx0WQeTFKjv5moh6FUIj r0Oz5Be51gAfQlKB7xlvx8xD+xJ4qQsH4DA9GnX+H8cRL+mL2czQz8bNoNOdU/djDzT8 liGI6EVT4kNR8hXjhXn0UVFmMYQsGOt+kN1qdaEXtrEHkihrIN+OyyOdhXc5E2uLoKzR /yAijvf4Hlp4e0rhoWrUy6C5ONKvjy42CwJ7O+G2lylfyPGW1kWXMVhF1s4HMrkjvLm2 J7vfXrzPohuUG5RmoUrE0tCuZFqzaX2HGtkbgeb41q0h5u9aDclkXLBONmAo3z++0GnG DzZw== X-Gm-Message-State: AO0yUKUArQvpKdI36Ao9j+PrwyLMWRrmOdrYwO9MFpG7LhObAwBB85uI n7gljA91vGpo/FIbBPyYi0XisqnMAC4= X-Google-Smtp-Source: AK7set/NM2EY7063dcHBCROGwcvLsJgkqxFMPuH+KUqJzIsLyaIV+jUS6BgFIEICR2U8Tpy2fZmw7w== X-Received: by 2002:a62:79c4:0:b0:592:3c0a:39dd with SMTP id u187-20020a6279c4000000b005923c0a39ddmr1754423pfc.28.1675738912552; Mon, 06 Feb 2023 19:01:52 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id s18-20020aa78d52000000b005a79f5d9f53sm194214pfe.165.2023.02.06.19.01.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Feb 2023 19:01:52 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented From: Yuan Fu In-Reply-To: Date: Mon, 6 Feb 2023 19:01:41 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <28303CFA-7C4A-4DAE-8454-98E81070FF86@gmail.com> To: Mohammed Sadiq X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61291-done Cc: 61291-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Feb 5, 2023, at 10:02 PM, Mohammed Sadiq wrote: >=20 > On 2023-02-06 04:52, Yuan Fu wrote: >> Mohammed Sadiq writes: >>> ; in the following code is not indented: >>> while (str_a[i++] =3D=3D str_b[j++]) >>> ; >>> expected indentation: >>> while (str_a[i++] =3D=3D str_b[j++]) >>> ; >> Thanks! I pushed a fix. >> Yuan >=20 > This seems to have not fixed when tested with the latest build. > Also, this has broken auto indentation for other code, eg: >=20 > if (true) > do_something(); Hey sorry, I somehow didn=E2=80=99t actually push the change, while = claiming to have done so. The latest commit (now pushed) is working fine = AFAICT. Yuan= From unknown Mon Jun 16 23:55:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Mar 2023 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator