GNU bug report logs - #36377
perl-mode: shouln't indent even within embedded here-docs

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, 25 Jun 2019 14:23: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 36377 <at> debbugs.gnu.org:


Received: (at 36377) by debbugs.gnu.org; 8 Jul 2019 23:30:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 08 19:30:20 2019
Received: from localhost ([127.0.0.1]:59966 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hkd5Q-0003uy-6o
	for submit <at> debbugs.gnu.org; Mon, 08 Jul 2019 19:30:20 -0400
Received: from quimby.gnus.org ([80.91.231.51]:35646)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1hkd5P-0003tr-Bq
 for 36377 <at> debbugs.gnu.org; Mon, 08 Jul 2019 19:30:19 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1hkd5L-0006Ee-Tv; Tue, 09 Jul 2019 01:30:18 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#36377: perl-mode: shouln't indent even within embedded
 here-docs
References: <87sgrxeoe2.5.fsf@HIDDEN>
Date: Tue, 09 Jul 2019 01:30:15 +0200
In-Reply-To: <87sgrxeoe2.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Tue, 25 Jun 2019 22:21:57 +0800")
Message-ID: <875zocgl4o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: > Here
    typing "aaa<RET>" works properly for the first aaa. But on the > second,
   it wrongly tries to indent within the here-doc. emacs-version "26.1" > > $a
    = <<EOF; > aaa > EOF > > %fields = ( > zzz = [...] 
 
 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: 0.0 (/)
X-Debbugs-Envelope-To: 36377
Cc: 36377 <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 (-)

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

> Here typing "aaa<RET>" works properly for the first aaa. But on the
> second, it wrongly tries to indent within the here-doc. emacs-version "26=
.1"
>
> $a =3D <<EOF;
> aaa
> EOF
>
> %fields =3D (
>     zzz =3D> <<EOF
> aaa
> EOF
> );

In Emacs 27, both of these seem to do the wrong thing when hitting RET
after aaa...  but in different ways.

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




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

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


Received: (at submit) by debbugs.gnu.org; 25 Jun 2019 14:22:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 25 10:22:18 2019
Received: from localhost ([127.0.0.1]:33134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hfmKv-0002X7-8r
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 10:22:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:52148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1hfmKt-0002Wy-03
 for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 10:22:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43543)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <jidanni@HIDDEN>) id 1hfmKq-0000IP-Sf
 for bug-gnu-emacs@HIDDEN; Tue, 25 Jun 2019 10:22:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1hfmKp-0008EE-NN
 for bug-gnu-emacs@HIDDEN; Tue, 25 Jun 2019 10:22:12 -0400
Received: from cadetblue.birch.relay.mailchannels.net ([23.83.209.28]:30444)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1hfmKp-00089A-9m
 for bug-gnu-emacs@HIDDEN; Tue, 25 Jun 2019 10:22:11 -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 F15B7501A54
 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Jun 2019 14:22:05 +0000 (UTC)
Received: from pdx1-sub0-mail-a11.g.dreamhost.com
 (100-96-14-97.trex.outbound.svc.cluster.local [100.96.14.97])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 76D96502096
 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Jun 2019 14:22:05 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a11.g.dreamhost.com ([TEMPUNAVAIL].
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.17.2); Tue, 25 Jun 2019 14:22:05 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Cooing-Befitting: 56d8b7436f06f198_1561472525769_2743518095
X-MC-Loop-Signature: 1561472525769:3156169765
X-MC-Ingress-Time: 1561472525769
Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 445EF83846
 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Jun 2019 07:22:01 -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=Qmb+zey9K7aXfGRx1r2oYZu+wII=; b=pU3A7foSHR9M1UCe
 qFMG/OM6JpdOh4eGHjX3yj27aEmdtmrB5U/DP5o2KPrwtgEMoHaRDsgRVtukg5QY
 cYB3tvtg8UOXk60kZM533HwIXvSGcN28HO6Hdzj3QTKplQXdscN/oWUjplysWolB
 oCcE5O8dP1Y+vAtgMVYHwjtzIps=
Received: from jidanni.org (114-41-14-125.dynamic-ip.hinet.net [114.41.14.125])
 (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-a11.g.dreamhost.com (Postfix) with ESMTPSA id D8E24837E3
 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Jun 2019 07:22:00 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a11
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: perl-mode: shouln't indent even within embedded here-docs
Date: Tue, 25 Jun 2019 22:21:57 +0800
Message-ID: <87sgrxeoe2.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudeggdejhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduudegrdeguddrudegrdduvdehnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurddugedruddvhedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 23.83.209.28
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 (--)

Here typing "aaa<RET>" works properly for the first aaa. But on the
second, it wrongly tries to indent within the here-doc. emacs-version "26.1"

$a = <<EOF;
aaa
EOF

%fields = (
    zzz => <<EOF
aaa
EOF
);





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#36377; 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: Mon, 25 Nov 2019 12:00:02 UTC

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