From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43007: 27.1; M-j doesn't behave properly in comments Date: Mon, 23 Nov 2020 19:23:29 +0200 Message-ID: <831rgkvvfy.fsf@gnu.org> References: <87imd9qba6.fsf@firemail.cc> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="631"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43007@debbugs.gnu.org, Alessio Vanni To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 23 18:24:20 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 1khFZZ-000AXU-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 18:24:17 +0100 Original-Received: from localhost ([::1]:40504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khFZY-00048L-PX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 12:24:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khFZK-000485-EW for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 12:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khFZK-0007Zl-7B for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 12:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khFZK-0006vM-45 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 12:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2020 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43007 X-GNU-PR-Package: emacs Original-Received: via spool by 43007-submit@debbugs.gnu.org id=B43007.160615222626588 (code B ref 43007); Mon, 23 Nov 2020 17:24:02 +0000 Original-Received: (at 43007) by debbugs.gnu.org; 23 Nov 2020 17:23:46 +0000 Original-Received: from localhost ([127.0.0.1]:50994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khFZ4-0006um-5K for submit@debbugs.gnu.org; Mon, 23 Nov 2020 12:23:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khFYy-0006uS-NC for 43007@debbugs.gnu.org; Mon, 23 Nov 2020 12:23:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49212) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khFYs-0007Vo-T0; Mon, 23 Nov 2020 12:23:35 -0500 Original-Received: from [176.228.60.248] (port=4929 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1khFYs-00022h-AI; Mon, 23 Nov 2020 12:23:34 -0500 In-Reply-To: <87imd9qba6.fsf@firemail.cc> (message from Alessio Vanni on Sun, 23 Aug 2020 23:53:37 +0200) 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:193931 Archived-At: > From: Alessio Vanni > Date: Sun, 23 Aug 2020 23:53:37 +0200 > > I normally use M-j to continue a long comment over multiple lines. > Recently, this feature broke in a rather weird way: new lines are opened > as a comment, but the new line is placed above the line with the point, > rather than below. In some other cases, the line appears in the correct > place, but opening a new line results in a '*' character instead of a > comment (the character is used on modes where '*' is part of a comment, > like `js-mode' or `cc-mode'.) > > This happens when running "emacs -Q" too. > > Example: > > // some comment. > > Becomes: > > // > // some comment. > > Alternatively: > > // some comment. > // > // > * > * > * > * > > (the '*' just keeps happening for every M-j.) Alan, please look into this. Lars says he can reproduce, but I cannot, at least not in "emacs -Q" with Emacs 27.1. Can you?