Subject: bug#18944: 24.4; perl-mode electric-indent inside here documents

From: Ed Avis <[email-masked]>
Date: Mon, 23 Sep 2019 08:35:46 +0000

With 26.1 the way to reproduce is a bit different.  Make a new buffer, M-x perl-mode, and enter

my $x = <<END
END

hitting Return at the end of each line.  But when you hit Return on the second line, the END becomes indented by four spaces.  That's not right since a here-document terminator should be at the left margin.

(please ignore confidentiality gunk below... can we have a web interface to reply to bugs please?)

To learn how we protect privacy, please use this link (https://www.qma.com/gdpr.html) to read our Privacy Notice.

This email and any files transmitted with it are CONFIDENTIAL and are intended solely for the use of the individual(s) or entity to whom they are addressed. Any unauthorised copying, disclosure or distribution of the material within this email is strictly forbidden. Any views or opinions presented within this email are solely those of the author and do not necessarily represent those of QMA Wadhwani (QMAW) unless otherwise specifically stated. An electronic message is not binding on its sender. Any message referring to a binding agreement must be confirmed in writing and duly signed. If you have received this email in error, please notify the sender immediately and delete the original. Telephone, electronic and other communications and conversations with QMAW and/or its associated persons may be recorded and retained.

Please note that your personal information may be stored and processed in any country where we have facilities or in which we engage service providers. If you provide personal information to us by email or otherwise, you consent to the transfer of that information to countries outside of your country of residence and these countries may have different data protection rules than your country.

This email is intended only for the person to whom it is addressed and may contain confidential information. Any retransmission, copying, disclosure or other use of, this information by persons other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material. This email is for information only and is not intended as an offer or solicitation for the purchase or sale of any financial instrument. QMA Wadhwani LLP is a Limited Liability Partnership registered in England (OC303168) with registered office at 9th Floor Orion House, 5 Upper St Martin’s Lane, London, WC2H 9EA.

To learn how we protect privacy, please use this link (https://www.qma.com/gdpr.html) to read our Privacy Notice.