From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#38545: 26.1; comment-multi-line doesn't work in c-mode Date: Fri, 30 Oct 2020 16:33:01 +0100 Message-ID: <87v9erenki.fsf@gnus.org> References: <87pngxadkv.fsf@poincare.umons.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2470"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38545@debbugs.gnu.org To: Christophe TROESTLER Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 30 16:34:09 2020 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 1kYWPp-0000TO-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 16:34:09 +0100 Original-Received: from localhost ([::1]:59784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYWPo-0005nS-Fs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 11:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYWPi-0005nE-0W for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYWPh-0001Se-Ns for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYWPh-0003LL-LV for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 11:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2020 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38545 X-GNU-PR-Package: emacs Original-Received: via spool by 38545-submit@debbugs.gnu.org id=B38545.160407199512765 (code B ref 38545); Fri, 30 Oct 2020 15:34:01 +0000 Original-Received: (at 38545) by debbugs.gnu.org; 30 Oct 2020 15:33:15 +0000 Original-Received: from localhost ([127.0.0.1]:59296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWOx-0003Jp-JE for submit@debbugs.gnu.org; Fri, 30 Oct 2020 11:33:15 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWOu-0003JU-RT for 38545@debbugs.gnu.org; Fri, 30 Oct 2020 11:33:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cYlw/nN/+K1VC/HngDwIuYsAWL83PDFl0qGa0u0Xt2c=; b=PNUYFRRnvOsqVy9ixms88WKoo8 w2tzaqgBkrnON5bpSyeR2tKVsycegaCou7PUho/Tw624NYVRV8/bPDyklNc79cDDHC9/SS2Eo2zl0 36ksTkjz2WaDzjcD6UjiWLq+4UyrGGsh/+vtSKyf+PFqUDeP5RZ8loNoXl+3vtIww72Q=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYWOl-0001kW-2N; Fri, 30 Oct 2020 16:33:06 +0100 X-Now-Playing: Neil Young's _Tonight's the Night_: "Tonight's the Night" In-Reply-To: <87pngxadkv.fsf@poincare.umons.ac.be> (Christophe TROESTLER's message of "Mon, 9 Dec 2019 12:27:45 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:192132 Archived-At: Christophe TROESTLER writes: > Setting comment-multi-line to `t', commenting a region should =E2=80=9Cin= serts no new terminator or starter.=E2=80=9D However, it is not the case. = For example, selecting two lines in > > int main()=20 > { > int a; > int b; > return(0); > } > > /* Local Variables: */ > /* comment-style: multi-line */ > /* comment-multi-line: t */ > /* End: */ > > yields > > /* int a; > * int b; */ > > while it should be > > /* int a; > int b; */ I've stared at that for a while, and I can't see that comment-region has inserted a new "terminator or starter". It's inserted a "*" at the start of the second line, but that's neither of those things. So I think it's behaving as documented? However, poking around for two minutes doesn't reveal any obvious way to get c-mode to stop behaving like this; for instance, setting comment-continue to something else than what it is just makes it create single-line comments, confusingly enough. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no