From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71225: 30.0.50; [PATCH] c-ts-common-comment-indent-new-line does not behave like c/c++-mode in comments Date: Sun, 02 Jun 2024 10:11:27 +0200 Message-ID: <87ikyrix1s.fsf@thornhill.no> References: <2561105.XAFRqVoOGU@3-191.divsi.unimi.it> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23697"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71225@debbugs.gnu.org, Vincenzo Pupillo To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 02 10:13:19 2024 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 1sDgL7-0005vM-UR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jun 2024 10:13:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDgKi-0008BC-Fi; Sun, 02 Jun 2024 04:12:52 -0400 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 1sDgKg-0008AU-Hc for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 04:12:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDgKg-00082p-6W for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 04:12:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDgKs-0004Jz-9U for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2024 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jun 2024 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71225 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71225-submit@debbugs.gnu.org id=B71225.171731594116541 (code B ref 71225); Sun, 02 Jun 2024 08:13:02 +0000 Original-Received: (at 71225) by debbugs.gnu.org; 2 Jun 2024 08:12:21 +0000 Original-Received: from localhost ([127.0.0.1]:57773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDgKD-0004Ii-Cw for submit@debbugs.gnu.org; Sun, 02 Jun 2024 04:12:21 -0400 Original-Received: from out-172.mta1.migadu.com ([95.215.58.172]:59109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDgKB-0004IV-BG for 71225@debbugs.gnu.org; Sun, 02 Jun 2024 04:12:20 -0400 X-Envelope-To: acorallo@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1717315890; 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: in-reply-to:in-reply-to:references:references; bh=8E/tPS1BAcpBjfLKTc+z9tfw47OReWXwDCaY3gc/lZE=; b=07TE6HzSU9yfuxmIMjiUyYE7KopEjbQu2BLPfbA1+tq/M8y/VD9VTuqxZPbfQiY6U7IG0l fzo72VpD2x3N/dc3kSpSeI9rForEoXkhSNHCBzViUDBFysdyciIs7pSQSGBP1PjqsFByWl 13whPvoGjfGq8Gxw6MI+cvPOYoSQFLWbGlhKc9C9mHfXVTY+0S0Si1QGLAAKc/hHzjxzCE RtZJMLxMKQlgy0M5lFHsX3J8hO6xjXg47oUnWR4ayO2xy2rU3LBkdFqEXHwFTdi3zmZ6qt UedF+0bdGgxZVSOYjEhtGi87aYNAvV0lSYvf5uoYYhGxN+N3Mh6UET3DKImU3Q== X-Envelope-To: v.pupillo@gmail.com X-Envelope-To: 71225@debbugs.gnu.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: (Theodor Thornhill's message of "Tue, 28 May 2024 20:30:30 +0200") X-Migadu-Flow: FLOW_OUT 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:286370 Archived-At: Theodor Thornhill writes: > On May 28, 2024 8:15:20 PM GMT+02:00, Andrea Corallo wrote: >>Vincenzo Pupillo writes: >> >>> Hi, >>> the c-ts-common-comment-indent-new-line does not behave like c/c++-mode in comments. >>> M-j also behaves differently in different places. >>> >>> // M-j wrong behavior. >>> int test(int a) >>> { >>> /** (1) >>> */ >>> int a; >>> >>> /* (1) >>> */ >>> int b; >>> // test (1) >>> >>> int c; // blah blah >>> // (3) >>> } >>> >>> /* (2) >>> */ >>> >>> /** (2) Thanks, pushed to master. Theo