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

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 25 Jun 2019 14:23:01 UTC

Severity: minor

Tags: confirmed

To reply to this bug, email your comments to 36377 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#36377; Package emacs. (Tue, 25 Jun 2019 14:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 25 Jun 2019 14:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: perl-mode: shouln't indent even within embedded here-docs
Date: Tue, 25 Jun 2019 22:21:57 +0800
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
);





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36377; Package emacs. (Mon, 08 Jul 2019 23:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 36377 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 36377 <at> debbugs.gnu.org
Subject: Re: bug#36377: perl-mode: shouln't indent even within embedded
 here-docs
Date: Tue, 09 Jul 2019 01:30:15 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> 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 => <<EOF
> aaa
> EOF
> );

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

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




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 08 Jul 2019 23:31:03 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 348 days ago.

Previous Next


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