GNU bug report logs - #18944
24.4; perl-mode electric-indent inside here documents

Previous Next

Package: emacs;

Reported by: Ed Avis <eda <at> waniasset.com>

Date: Tue, 4 Nov 2014 15:51:01 UTC

Severity: minor

Tags: confirmed

Found in versions 26.1, 26.3, 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Ed Avis <eda <at> waniasset.com>
Cc: 18944 <at> debbugs.gnu.org
Subject: bug#18944: 24.4; perl-mode electric-indent inside here documents
Date: Sat, 21 Sep 2019 01:12:56 +0200
Ed Avis <eda <at> waniasset.com> writes:

> Start a new buffer and M-x perl-mode.  Enter this text:
>
> my $x = <<END
>
> and hit Return.  The cursor is positioned on the next line indented by
> four spaces (depending on your default indent level).  This is not
> really correct; most of the time you don't want your quoted string to
> start with four literal space characters, so it would be more helpful
> for Emacs not to indent.

I can't reproduce this on Emacs 26.1.  Are you still seeing this on a
more recent version of Emacs, for example the latest version 26.3?

If I don't hear back from you in a couple of weeks, I'll just assume
that this has been fixed while you were waiting for a reply and close
this as unreproducible.

Best regards,
Stefan Kangas




This bug report was last modified 3 years and 201 days ago.

Previous Next


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