GNU bug report logs - #77823
31.0.50; M-j regression since commit 4c6b1712a4d

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Sean Whitton <spwhitton@HIDDEN>; dated Tue, 15 Apr 2025 11:29:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 77823 <at> debbugs.gnu.org:


Received: (at 77823) by debbugs.gnu.org; 16 Apr 2025 00:56:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 15 20:56:05 2025
Received: from localhost ([127.0.0.1]:58681 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u4r4P-0000LV-7X
	for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 20:56:05 -0400
Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]:42337)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1u4r4I-0000JN-DX; Tue, 15 Apr 2025 20:55:58 -0400
Received: by mail-oi1-x243.google.com with SMTP id
 5614622812f47-3fea0363284so123238b6e.1; 
 Tue, 15 Apr 2025 17:55:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1744764952; x=1745369752; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=8Fj8Qf/m80xPQF6RSS6VKFVstc8nYUBxaD5LgdE+GK8=;
 b=fX5bFWKXsRn/a4U5tpVHNm1IdD2g5Bnv3P3MEja6WHj0qSWb9yYuNXdF3RsCYcYuu7
 j8B06ehnaEjWkpK6lOZeWOY9JBWTkYBTqN+gzHNPix8Q53xR3cgKXkPeZXPtXtWAcQim
 wWNsApu4f68KUjjR/lL8oCgmtNHn573b0ArzrMX1sUILcx6SR61nqsiDSAgcvQmKY8bm
 i2prjj7auyPCPURRtu5jQzPWZzMw7b82/NnClm6IKJA3CSqib4iTlagp12GBp5itxRmT
 Q/vyNc386webhA05f6ZigN3/bWnIfrIhg9FJNP67IJ9ZyoF1GgWxdIyBzq3ytx4s/cyk
 EWlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1744764952; x=1745369752;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=8Fj8Qf/m80xPQF6RSS6VKFVstc8nYUBxaD5LgdE+GK8=;
 b=fF3ciEy+NW/PUZNApezqgd2PyZO7rcndsMzfZCa03x1VeP4sGICXoIJ5/AGVhCfcSg
 NxB4BTeSRAqLd5ZtPe+TlyYQgtzLpuzTZXb5qOtZKwcUKwnkYSRypf1xoFj9/q5nGJQq
 J9asr0IS9JLFWJNfw0rMllGbZf/H4gfsR/ZRG+REfxmpKzbAmyRERZBkTsvb1V/DMxTH
 81LH/A4J+F+TOsYfI5Xu2VHn0Bm/ODU/uXKeaGuhXgefh6WlhqwHBoHzjSqzIYjOkklW
 oJHeuCBxTpzlUOeBMJXzd0PYUslry5yVY73d7Z9rTwy2AYQQk9AlO6YhWTiqmMD92BsN
 ubKQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVR4cHsGFkH6hXVb+5ADj6Jkt42BJkiyeL/AtXPOC6K2w0JXbkI50QIrz1PJGF5YnZKwasOEBt7 <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0Yy1qRXRjZgvwX9ekPVXFR9Xlv5A9M4QbKInnEX7JWniv6rggcjt
 xxA++s3wxr7x85ls3Sw92mpxsL2shygRGO6PtBuzoBxs02YcWhoFhtgXE4Wz
X-Gm-Gg: ASbGnctSsJvHZTgzZmThhxfaXuMgtUUhPXO1m2xSPqAGJddxvVm9U+wqozIyIXUvMNp
 sPpdxmaizIIcItB8ihiYwxdBIh0s+AOftVW/Ukk4x7rF09F5B7yGC0VX9h5aNYuOvMrZ+lx8igl
 gGXpGCnGQE+BKpH5lwe+Ft14Jwq7VBEeViomRAamcdap99P+GNLyyl5RKfBHtQoRG96goSN45rD
 XeTFsIXo9WjozeLz4E0qsPnKsGsxDggQxGNjKWkVfEJQa0M5CWMmfIFGyeKhAIZK78XmVENo1Cq
 FSj+7BiW
X-Google-Smtp-Source: AGHT+IGIZODt4Oaikp53e6xDtR/JHZ47FSO5sBr3x9/5vJ6kY7VGQvsSWyAbynEBqgNQyK++Px8qWQ==
X-Received: by 2002:a05:6808:2388:b0:3f6:abd2:8bf9 with SMTP id
 5614622812f47-400a4343fc5mr3209595b6e.19.1744764952399; 
 Tue, 15 Apr 2025 17:55:52 -0700 (PDT)
Received: from fedora ([2806:10ae:e:7566::1]) by smtp.gmail.com with ESMTPSA id
 46e09a7af769-72e73d714d1sm2609258a34.19.2025.04.15.17.55.51
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Apr 2025 17:55:51 -0700 (PDT)
From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#77823: 31.0.50; M-j regression since commit 4c6b1712a4d
In-Reply-To: <87fri9rllx.fsf@HIDDEN>
References: <87v7r5slzj.fsf@HIDDEN> <86bjsxh8gw.fsf@HIDDEN>
 <87fri9rllx.fsf@HIDDEN>
Date: Tue, 15 Apr 2025 18:55:50 -0600
Message-ID: <87mscgkjqh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 77823
Cc: eliz@HIDDEN, 77823 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: text/plain

Sean Whitton <spwhitton@HIDDEN> writes:

> reopen 77823
> thanks
>
> Hello,
>
> On Tue 15 Apr 2025 at 04:15pm +03, Eli Zaretskii wrote:
>
>> This has been fixed by a followup changeset that Elijah sent.
>>
>> So I'm closing this bug.
>
> It's still present, just replace 'M-x emacs-lisp-mode' with
> 'M-x lisp-mode' in my recipe.  M-j for editing Common Lisp is broken.
>
> Possibly Elijah's original commit has just uncovered an existing
> problem, but either way it's a bug.
>
> Elijah, can you take a look at the lisp-mode issue, please?

I found the issue, `comment-indent' was using both block-comment
variables first than `comment-start' and `comment-end', this must fix it.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=fixpatch.patch

diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index eb36f91104d..3e20da816b9 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -722,9 +722,9 @@ comment-indent
   (let* ((empty (save-excursion (beginning-of-line)
 				(looking-at "[ \t]*$")))
 	 (starter (or (and continue comment-continue)
-		      (and empty block-comment-start) comment-start))
+		      comment-start (and empty block-comment-start)))
 	 (ender (or (and continue comment-continue "")
-		    (and empty block-comment-end) comment-end)))
+		    comment-end (and empty block-comment-end))))
     (unless starter (error "No comment syntax defined"))
     (beginning-of-line)
     (let* ((eolpos (line-end-position))

--=-=-=
Content-Type: text/plain



-- 
                                          - E.G via GNU Emacs and Org.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77823; Package emacs. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 77823 <at> debbugs.gnu.org:


Received: (at 77823) by debbugs.gnu.org; 16 Apr 2025 00:33:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 15 20:33:48 2025
Received: from localhost ([127.0.0.1]:58439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u4qip-0002sf-BL
	for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 20:33:48 -0400
Received: from sendmail.purelymail.com ([34.202.193.197]:52018)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1u4qij-0002qS-3v
 for 77823 <at> debbugs.gnu.org; Tue, 15 Apr 2025 20:33:43 -0400
DKIM-Signature: a=rsa-sha256;
 b=yWwV7TKgSUK/cSXvLKE3I5WbbgRNwY6jcc6drx70UyAzqKRCFYu2sOUU7u+d3712iOoQv4f9XuPg3F0crgTJz3uceD9OD7O2REvK1sSiEFD6YfYN/hb/ubxlz+0f8wmeCcduUvPQBYwFlkI9V2qr71TxZn/qX6E69j22dTuMnCT8iiQxkk9tBBiLRbCBynhA5Kw+qM6fPbdPUQu4qQPU2yySwciLsbrTjUrFQzS2PxZB1RVWBesvqBAQ44CyGxvMSyo+Kv2ccShoHFMrdt4KiqkCC/vpQ4fnRs5DoyaXgy0gsQM23LeK5aWeqrRYvktBbb8GOtyPIQKpIerllYpG4w==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=dE1TeFr5RdTTgpKiJa937wXjx9lBjTpHKU5QWXXTKOY=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=MD2L4FolxQJvUKUdA4EeoyMbhjdcBC6/rzOwGZSsRUz+bfFV2i8Stn/eGFi2z+dXndoEEb+iLMxHG8VkKfFywvoY8JQwR8TstQ95Wh62KJnNgHcpoVzJ/IHsq4VcIeC2mXuEg7PKWjpMPYub+94EEwcJdMXMjjUGCVc+SD0UgxP9nXWU8cQeQICBph9Nda9NH4tZPoUmgfhmWagdLW9KTIPFCQz0eqb3m3qZI6NvUHaLjKWDcZajmF2BgI7+NP7D9LBAc97EMzXnFP/1epllFvoQIGmfXWJeil44iDOTjM1jBMF9oHgaSXpwDdoYJ8mutpAqAxSJdLKbG/MGCIwP1Q==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=dE1TeFr5RdTTgpKiJa937wXjx9lBjTpHKU5QWXXTKOY=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 77823 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1176146218; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Wed, 16 Apr 2025 00:33:32 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 086877EE3B8; Wed, 16 Apr 2025 08:33:30 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: 77823 <at> debbugs.gnu.org, eliz@HIDDEN, eg642616@HIDDEN
Subject: Re: bug#77823: 31.0.50; M-j regression since commit 4c6b1712a4d
In-Reply-To: <86bjsxh8gw.fsf@HIDDEN>
References: <87v7r5slzj.fsf@HIDDEN> <86bjsxh8gw.fsf@HIDDEN>
Date: Wed, 16 Apr 2025 08:33:30 +0800
Message-ID: <87fri9rllx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77823
Cc: control <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

reopen 77823
thanks

Hello,

On Tue 15 Apr 2025 at 04:15pm +03, Eli Zaretskii wrote:

> This has been fixed by a followup changeset that Elijah sent.
>
> So I'm closing this bug.

It's still present, just replace 'M-x emacs-lisp-mode' with
'M-x lisp-mode' in my recipe.  M-j for editing Common Lisp is broken.

Possibly Elijah's original commit has just uncovered an existing
problem, but either way it's a bug.

Elijah, can you take a look at the lisp-mode issue, please?

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77823; Package emacs. Full text available.

Message received at 77823-done <at> debbugs.gnu.org:


Received: (at 77823-done) by debbugs.gnu.org; 15 Apr 2025 13:15:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 15 09:15:26 2025
Received: from localhost ([127.0.0.1]:51171 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u4g8L-0002Eb-VJ
	for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 09:15:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52666)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u4g8I-0002EC-PJ
 for 77823-done <at> debbugs.gnu.org; Tue, 15 Apr 2025 09:15:23 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u4g8D-0005Ii-7B; Tue, 15 Apr 2025 09:15:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=bMzBKWSw2rifbQW8QaOxa1fnJXDl4VzABJ3BznGovas=; b=bRL2acoznW24
 k4zOExQ2c9F22i5O8oNg3BOo3p6vBA/UH9MuQYQ3bwYTVK3SKjzhSBjHBDbQKvkvs4MLMtbXKONdh
 MeDx+2uJqJ8gAl5YEntc9uIkGs3a3NLS4dZ5/AivbiRyAatNAe/AoFp++zfXX7YoV7SFk/1H6tZaf
 jnQ0ANFmkiiZmvlRuki+sXeK4Bk7wfyVc/AeaGX19LiBqRK0XP2Tp31VImqoQ0VO3OPlcgIVmO71L
 qGgI7s3PNUq23tHbUSxIgGyQlnD69m0SnLRTCFuq8AsHQYf2pDe0ODSnLiu6Qg98/yEu9fi801Fze
 jpFjP6DJHs5G8YT4+4r6cQ==;
Date: Tue, 15 Apr 2025 16:15:11 +0300
Message-Id: <86bjsxh8gw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
In-Reply-To: <87v7r5slzj.fsf@HIDDEN> (message from Sean
 Whitton on Tue, 15 Apr 2025 19:27:44 +0800)
Subject: Re: bug#77823: 31.0.50; M-j regression since commit 4c6b1712a4d
References: <87v7r5slzj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77823-done
Cc: eg642616@HIDDEN, 77823-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: eg642616@HIDDEN, eliz@HIDDEN
> From: Sean Whitton <spwhitton@HIDDEN>
> Date: Tue, 15 Apr 2025 19:27:44 +0800
> 
> 1. emacs -q
> 2. C-x b foo RET
> 3. M-x emacs-lisp-mode RET
> 4. ;;;; hello M-j
> 
> Result is:
> 
> --8<---------------cut here---------------start------------->8---
> ;;;; hello|#
> #|
> --8<---------------cut here---------------end--------------->8---
> 
> but it should be
> 
> --8<---------------cut here---------------start------------->8---
> ;;;; hello
> ;;;;
> --8<---------------cut here---------------end--------------->8---

This has been fixed by a followup changeset that Elijah sent.

So I'm closing this bug.




Notification sent to Sean Whitton <spwhitton@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Eli Zaretskii <eliz@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Apr 2025 11:28:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 15 07:28:05 2025
Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u4eST-0002Q4-Ai
	for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 07:28:05 -0400
Received: from lists.gnu.org ([2001:470:142::17]:42764)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1u4eSR-0002PX-81
 for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 07:28:04 -0400
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 <spwhitton@HIDDEN>)
 id 1u4eSI-0002F1-TD
 for bug-gnu-emacs@HIDDEN; Tue, 15 Apr 2025 07:27:57 -0400
Received: from sendmail.purelymail.com ([34.202.193.197])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spwhitton@HIDDEN>)
 id 1u4eSF-00083V-AK
 for bug-gnu-emacs@HIDDEN; Tue, 15 Apr 2025 07:27:54 -0400
DKIM-Signature: a=rsa-sha256;
 b=AS0KH3IqgU5XlMmVSjVcpnPPEIcoAuu1D7zr1njT+3AO5MVYnrGotcCkPlweunnl9xVdRtkoZLhR0RMH2V/xVZ6YdNB486OST2r5ewSZGIcTNiSD9eWx7SUdvk9Nis5Vo5U8M3P/9q6UbACD9eInwCaI3TtsADS7NBOIEz4JGxZGIdmhItbG+hA4NBFkU9GMlmXxH6ejD0LzzhTKY4nlp3PRPROaKkM9bG1/euddHnkpYC+YJwhmpjSl6gClObtvkIt7t8nKdiAfKPQV1ARp3Pv2IC+4w5mouoUr015YPFHb8DY6a1/c57buYOMltAxZtrxzt0FO1O6I63tIg28biw==;
 s=purelymail3; d=spwhitton.name; v=1;
 bh=Kpaz7x9i/mEEawoXD9ri4daTyV/3LHM6ZGajEeDEwLE=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=V3koxIjNnuH8uoJ0wmgQ9CSlyFRkWgONxBkcTfP8vnwZtj4MoINVKyeQA9uDJhWpvdrUklnGAxYT2uataxoqk2H9Zu5QJsGroBxXtEVEHahC8n6WjKWF2eva9O/ph8I6hVR5A9OXDzL3ey3tP4sH8Ul/O6n5aGu78gv92+2OJohNsnZUvURrAs/cmjgE2SIW6JAv2XFZpBDVIX/0AaiZ+vwpud/26mgQxB0Mw7VrLjDnOVs2BnGjdvSVmBUi07ATfWwqmdZ4Ti/VcCuXYxbYP8hGWX4g/OBBfcQpDusz0pXDAmRYfGme56ZxWU5XKk85Qf/R/e6NlbY8dNEXFt/vHQ==;
 s=purelymail3; d=purelymail.com; v=1;
 bh=Kpaz7x9i/mEEawoXD9ri4daTyV/3LHM6ZGajEeDEwLE=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: bug-gnu-emacs@HIDDEN
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -2113166126
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Tue, 15 Apr 2025 11:27:48 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id CE2A97E6BB8; Tue, 15 Apr 2025 19:27:44 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; M-j regression since commit 4c6b1712a4d
Date: Tue, 15 Apr 2025 19:27:44 +0800
Message-ID: <87v7r5slzj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=34.202.193.197;
 envelope-from=spwhitton@HIDDEN; helo=sendmail.purelymail.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

X-debbugs-cc: eg642616@HIDDEN, eliz@HIDDEN

1. emacs -q
2. C-x b foo RET
3. M-x emacs-lisp-mode RET
4. ;;;; hello M-j

Result is:

--8<---------------cut here---------------start------------->8---
;;;; hello|#
#|
--8<---------------cut here---------------end--------------->8---

but it should be

--8<---------------cut here---------------start------------->8---
;;;; hello
;;;;
--8<---------------cut here---------------end--------------->8---

My first thought is that since multiline comments of this style are not
valid Emacs Lisp, we should just set block-comment-start and
block-comment-end to nil for emacs-lisp-mode.

However, the recipe provided above works if you do 'M-x lisp-mode RET'
instead.

Even though Common Lisp supports these block comments, if you are
already writing a semicolon-delimited comment, then M-j should continue
it, rather than starting a #| |# comment.

-- 
Sean Whitton




Acknowledgement sent to Sean Whitton <spwhitton@HIDDEN>:
New bug report received and forwarded. Copy sent to eg642616@HIDDEN, eliz@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to eg642616@HIDDEN, eliz@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#77823; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 16 Apr 2025 01:00:05 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.