GNU bug report logs - #47903
perl mode fooled by initial '=cut'

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; Severity: minor; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; Keywords: confirmed; dated Tue, 20 Apr 2021 01:14:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 47903) by debbugs.gnu.org; 29 Jun 2022 11:15:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 29 07:15:38 2022
Received: from localhost ([127.0.0.1]:57798 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o6VfW-0005mi-2O
	for submit <at> debbugs.gnu.org; Wed, 29 Jun 2022 07:15:38 -0400
Received: from quimby.gnus.org ([95.216.78.240]:58954)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o6VfN-0005Wm-1G
 for 47903 <at> debbugs.gnu.org; Wed, 29 Jun 2022 07:15:37 -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
 :Date:References:In-Reply-To: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=SQIEGUw/MH1gkehReM0nZnAFkCqCX8mfju+Sx5yKeuA=; b=lG7tKhkmJj8VZ7qBAjxkxdp7ma
 0wuViRpj+z3fJz0MHjHq00wThViVxLruqOJMKlqdwq/IV3tNeJYV97A+mU5+kweLxt5BsKkynyMbd
 dYl1fZEnxEndNQYZkYJEK6ckvoedmkVPsQ4D7D2hvLe9IMI0FmsX/bOBoMtIrzscoxTI=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1o6VfE-0006zE-AX; Wed, 29 Jun 2022 13:15:22 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#47903: perl mode fooled by initial '=cut'
In-Reply-To: <878s5dn7s7.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Tue, 20 Apr 2021 08:01:28 +0800")
References: <878s5dn7s7.5.fsf@HIDDEN>
X-Now-Playing: Anna B Savage's _A Common Turn_: "Baby Grand"
Date: Wed, 29 Jun 2022 13:15:19 +0200
Message-ID: <87r137hgag.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  積丹尼 Dan Jacobson <jidanni@HIDDEN> writes: > Perl
    mode colors this as if it will be executed. > > =cut > die 'HA!'; I can reproduce
    this in Emacs 29, too. 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 47903
Cc: 47903 <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 (---)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

> Perl mode colors this as if it will be executed.
>
> =3Dcut
> die 'HA!';

I can reproduce this in Emacs 29, too.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 01:13:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 19 21:13:20 2021
Received: from localhost ([127.0.0.1]:52428 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lYex6-0007Xc-6A
	for submit <at> debbugs.gnu.org; Mon, 19 Apr 2021 21:13:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:56854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lYex4-0007XU-R1
 for submit <at> debbugs.gnu.org; Mon, 19 Apr 2021 21:13:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59794)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lYex4-0006PM-LW
 for bug-gnu-emacs@HIDDEN; Mon, 19 Apr 2021 21:13:18 -0400
Received: from donkey.elm.relay.mailchannels.net ([23.83.212.49]:46817)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lYex0-0006S1-Lb
 for bug-gnu-emacs@HIDDEN; Mon, 19 Apr 2021 21:13:18 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id E281232255C
 for <bug-gnu-emacs@HIDDEN>; Tue, 20 Apr 2021 01:13:12 +0000 (UTC)
Received: from pdx1-sub0-mail-a21.g.dreamhost.com
 (100-105-161-119.trex.outbound.svc.cluster.local [100.105.161.119])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id B4352322919
 for <bug-gnu-emacs@HIDDEN>; Tue, 20 Apr 2021 01:13:12 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a21.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.105.161.119 (trex/6.1.1); Tue, 20 Apr 2021 01:13:12 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Stretch-Daffy: 119adbdd6d8a0e9f_1618881192777_4055590877
X-MC-Loop-Signature: 1618881192777:2412461221
X-MC-Ingress-Time: 1618881192777
Received: from pdx1-sub0-mail-a21.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a21.g.dreamhost.com (Postfix) with ESMTP id 5B5BE7F1D8
 for <bug-gnu-emacs@HIDDEN>; Mon, 19 Apr 2021 18:13:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=8HS7UcJyn0k321CxQ+HQ2fr17ME=; b=pU5g/j9KZzj1L9Vu
 k3sCUwPYUfc/l9EW6K+d02biyqt0eJMmRepJsXDrEK+f4RUUBlwHmaM0AxM//kHt
 0l4omw7H9aCf8ntCCyxnDUtzjjYZyFdppqDp/gll9SP8wXmALoMGKGAl4XzJtmyY
 nKodTPhWdJlGQjbLm3owHX4tVPI=
Received: from jidanni.org (111-246-96-104.dynamic-ip.hinet.net
 [111.246.96.104])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 1730A7F1D1
 for <bug-gnu-emacs@HIDDEN>; Mon, 19 Apr 2021 18:13:12 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a21
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: perl mode fooled by initial '=cut'
Date: Tue, 20 Apr 2021 08:01:28 +0800
Message-ID: <878s5dn7s7.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.212.49; envelope-from=jidanni@HIDDEN;
 helo=donkey.elm.relay.mailchannels.net
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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

Perl mode colors this as if it will be executed.

=cut
die 'HA!';

cperl mode is more sophisticated.




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#47903; 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, 29 Jun 2022 11:30:02 UTC

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