From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto indentation Date: Sat, 7 Jan 2023 15:28:35 -0800 Message-ID: <308A0BC8-C223-42F2-A3B6-C6F8B53652D5@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12231"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , Eli Zaretskii , 60270@debbugs.gnu.org To: Mohammed Sadiq Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 08 00:29:24 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 1pEIct-0002xA-QW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Jan 2023 00:29:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEIcZ-0008Jh-SF; Sat, 07 Jan 2023 18:29:03 -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 1pEIcY-0008JO-OE for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2023 18:29: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 1pEIcY-0001tq-8Y for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2023 18:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEIcY-0001qa-3i for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2023 18:29:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jan 2023 23:29: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.16731341287074 (code B ref 60270); Sat, 07 Jan 2023 23:29:02 +0000 Original-Received: (at 60270) by debbugs.gnu.org; 7 Jan 2023 23:28:48 +0000 Original-Received: from localhost ([127.0.0.1]:59307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEIcK-0001q2-96 for submit@debbugs.gnu.org; Sat, 07 Jan 2023 18:28:48 -0500 Original-Received: from mail-pl1-f173.google.com ([209.85.214.173]:34550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEIcE-0001pl-UE for 60270@debbugs.gnu.org; Sat, 07 Jan 2023 18:28:46 -0500 Original-Received: by mail-pl1-f173.google.com with SMTP id v23so703427plo.1 for <60270@debbugs.gnu.org>; Sat, 07 Jan 2023 15:28:42 -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=ErvJAvpa5M5hh5uDKPurExaxKqhq2VzIWS7VNuPLQ1E=; b=X0mAQ9s7cwtq9skTQBcHPdnG21OZLuWzkYWhajWxo9YKRb9RWaayk8LsHALxGN2lsc qQEnhqp+/TontDLIfyKw6Sk4ObbCPSEXk6gREo/rekaAhBwC3nqNKZlO2ItRNeKL2prb NBZLN9kJVg5r9AuoLswk8AZk4xizaTFhmIA4X/m6XVOtApRW2VDUdynnaOLhMifPKxmQ K6mg0yYq2FoMyhfMMZHnSQA7/HQOlMSAseURW4Gvofm/uKJN/jekdaBOTvr/2jbPSmKe yRQ1OfPLhj18kqk77h0k6gWPypNhT8PGQPUntd9NJJjBR6lslV9cC/wTMXbE5wW3tGrQ ESIQ== 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=ErvJAvpa5M5hh5uDKPurExaxKqhq2VzIWS7VNuPLQ1E=; b=Eysu1D3zBeBwxTCtv39pWmlhf2PdzbilNSayIrXrNEHrFnjCJrk1R6zsLQEJSAb5zk x6550af7IDmruDEtpLjokMREjtZ6xmPdTOthPE84UOcFr/wJBgb1mknTNFrGpmiWUzhH UdyIZKqKpHaY9RuR0TxJLrPpilPMzQFMDhXFfWaZ2qTyItrL0qA7RKrVleGdpzs7aG2g XfpFNkYFRzJcApw1w09yohiSNAAd8pIw3LbyKhYvRC/f2eCb1tITUGsNktDd+/dXET+b KNJNsZwtdH6Abnk0EthOYdFix9xtnkAxcmysno7TxM1rHyaaMTgxb+Ob+l1c2Aten7z0 f6FA== X-Gm-Message-State: AFqh2krcgjq1q4DKPvA/z2EP5EjkULL3MIM92twuEfegGYwEQo3XYOov HlYKMPKmMQnMi1KLZN8UGBqNlV/mkSQX9A== X-Google-Smtp-Source: AMrXdXvT2jVKJ8uBoPU+N7/mNa6rqwTn6/IvbMpIXDtP829g7amahbut1s+Q3eEeDUQpr7skOqLV8Q== X-Received: by 2002:a17:902:c193:b0:190:cd21:1ebe with SMTP id d19-20020a170902c19300b00190cd211ebemr63718368pld.1.1673134117218; Sat, 07 Jan 2023 15:28:37 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id q1-20020a170902a3c100b001899c2a0ae0sm3306125plb.40.2023.01.07.15.28.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jan 2023 15:28:36 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.1) 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:252845 Archived-At: Mohammed Sadiq writes: > 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. Ah, yes. I fixed that. Thanks for the report. Yuan