GNU bug report logs - #34360
perl-mode doesn't respect certain EOF blocks

Previous Next

Package: emacs;

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

Date: Thu, 7 Feb 2019 01:55:02 UTC

Severity: minor

Tags: confirmed

Found in version 28.0.50

Full log


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 doesn't respect certain EOF blocks
Date: Thu, 07 Feb 2019 09:51:33 +0800
Here perl-mode insists on moving my EOF block away from the margin as if
it needed to be indented. Type TAB on such lines to check.

for ( @{ $p->{result_data}->{channels} } ) {
    printf <<EOF,
%d new messages in https://example.nd/example/%d/chat/%s
EOF
      $_->{new_message_count}, $_->{example}->{example_no}, $_->{channel_id};
}

emacs-version "26.1"

(True, the user could also do printf "some
long
paragraph" too as a simpler working way.)




This bug report was last modified 4 years and 306 days ago.

Previous Next


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