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#43007: 27.1; M-j doesn't behave properly in comments Date: Mon, 24 Aug 2020 03:41:04 +0200 Message-ID: <87imd8es7j.fsf@gnus.org> References: <87imd9qba6.fsf@firemail.cc> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43007@debbugs.gnu.org To: Alessio Vanni Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 03:42: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 1kA1Uv-0007VP-4n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 03:42:09 +0200 Original-Received: from localhost ([::1]:57506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kA1Uu-0006AQ-0p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Aug 2020 21:42:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kA1Uo-0006A5-6b for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 21:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kA1Un-0008An-TG for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 21:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kA1Un-00066c-R9 for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 21:42: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: Mon, 24 Aug 2020 01:42:01 +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.159823328223418 (code B ref 43007); Mon, 24 Aug 2020 01:42:01 +0000 Original-Received: (at 43007) by debbugs.gnu.org; 24 Aug 2020 01:41:22 +0000 Original-Received: from localhost ([127.0.0.1]:55492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA1UA-00065d-5C for submit@debbugs.gnu.org; Sun, 23 Aug 2020 21:41:22 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA1U8-00065P-Rn for 43007@debbugs.gnu.org; Sun, 23 Aug 2020 21:41:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=Ce/b4q9BinJwlIz02Bl/HOt8ODqZ4Wm7AJvpSsodxcc=; b=o5eoW0M5+qLdWI/rQdupRobdBH wi7p9r6vtmEZE0jnA12BJG/UbOGVO5ozertBN1kjVV57+AciA4LvOQIJwZnffVjwMRFlfAuTmsSPa OnS9hiN/utu1+sBDUC1n3DyzQBxEKNQ6dWMUm0lRTWcy7e0ylceW4Txcel3JCZ8PuSAQ=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kA1Tt-0007DB-OG; Mon, 24 Aug 2020 03:41:14 +0200 X-Now-Playing: Kronos Quartet's _Terry Riley: Sun Rings_: "Beebopterismo" In-Reply-To: <87imd9qba6.fsf@firemail.cc> (Alessio Vanni's message of "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:186106 Archived-At: Alessio Vanni writes: > 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. This happens for me, too, if I have point behind the "//" characters. But that seems like a natural behaviour? > Alternatively: > > // some comment. > // > // > * > * > * > * > > (the '*' just keeps happening for every M-j.) I'm unable to reproduce this in Emacs 28. Where is point when you hit M-j? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no