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

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 36377 <at> debbugs.gnu.org
Subject: 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




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.