From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mohammed Sadiq Newsgroups: gmane.emacs.bugs Subject: bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto indentation Date: Tue, 03 Jan 2023 20:00:38 +0530 Message-ID: References: <1DBC1FDA-4757-4473-98EE-0030C26B26D7@gmail.com> <834jtj4yxu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21808"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Yuan Fu , 60270@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 03 15:31:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCiJy-0005ZC-5G for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Jan 2023 15:31:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCiJl-0000fJ-58; Tue, 03 Jan 2023 09:31:05 -0500 Original-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 1pCiJi-0000ee-Tx for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 09:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCiJi-00007a-LN for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 09:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCiJi-0007E3-HS for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 09:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mohammed Sadiq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jan 2023 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60270 X-GNU-PR-Package: emacs Original-Received: via spool by 60270-submit@debbugs.gnu.org id=B60270.167275625127756 (code B ref 60270); Tue, 03 Jan 2023 14:31:02 +0000 Original-Received: (at 60270) by debbugs.gnu.org; 3 Jan 2023 14:30:51 +0000 Original-Received: from localhost ([127.0.0.1]:45023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCiJW-0007Dc-Qx for submit@debbugs.gnu.org; Tue, 03 Jan 2023 09:30:51 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:46325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCiJV-0007DM-2j for 60270@debbugs.gnu.org; Tue, 03 Jan 2023 09:30:49 -0500 Original-Received: (Authenticated sender: sadiq@sadiqpk.org) by mail.gandi.net (Postfix) with ESMTPA id CE4DF10000A; Tue, 3 Jan 2023 14:30:38 +0000 (UTC) In-Reply-To: <834jtj4yxu.fsf@gnu.org> X-Sender: sadiq@sadiqpk.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252406 Archived-At: Now it indents properly when selecting the comment and TAB, but if point is inside the comment, the line indents further breaking the indentation. example, for the following code: /* * Some comment */ and I place the point to be between '*' and '/' in the comment and or somewhere in the "Some comment" string, and then press TAB, the line indents further, breaking the indentation.