From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18944: 24.4; perl-mode electric-indent inside here documents Date: Mon, 23 Sep 2019 11:15:58 +0200 Message-ID: References: <8e1c73c08d724cbea37dd7261c2f6583@WCL-EX13MBX-DR.wcl.local> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="231586"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "18944@debbugs.gnu.org" <18944@debbugs.gnu.org> To: Ed Avis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 23 11:17:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCKTD-000y8H-BB for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 11:17:23 +0200 Original-Received: from localhost ([::1]:54096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCKTB-0005pL-NQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 05:17:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53671) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCKSu-0005n6-U2 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 05:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCKSs-0006EY-C7 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 05:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCKSs-0006ES-8X for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 05:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCKSs-0004K4-2P for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2019 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18944 X-GNU-PR-Package: emacs Original-Received: via spool by 18944-submit@debbugs.gnu.org id=B18944.156923017916553 (code B ref 18944); Mon, 23 Sep 2019 09:17:02 +0000 Original-Received: (at 18944) by debbugs.gnu.org; 23 Sep 2019 09:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:35053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKSA-0004Is-6y for submit@debbugs.gnu.org; Mon, 23 Sep 2019 05:16:18 -0400 Original-Received: from mail-pf1-f174.google.com ([209.85.210.174]:34662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKS8-0004Ia-E8 for 18944@debbugs.gnu.org; Mon, 23 Sep 2019 05:16:17 -0400 Original-Received: by mail-pf1-f174.google.com with SMTP id b128so8785067pfa.1 for <18944@debbugs.gnu.org>; Mon, 23 Sep 2019 02:16:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IUBFPwU2YEYTt07pSnymOVAgpSZHf5vx1TPHJ3QTKQU=; b=myUsDL1KETTqnRuouPEuwK3fACFc6nWj6vf+Dc6VODyBn2dhvCMFDqla7ZiOgqw1KS 2Tbw3RJobPU+JdnPAgOs0a0Mf2Hb6EnGRJuSy0Ix/MlYR5FVKDKCJwOMTOmdl2qBWkKr P+J5SQIsvxBdHj44vHpbA5tlRplpK7MFVupuLX7hVSUO6C+ZpqjruO3cqqEO2YDuMBwY Z8W4WrVeATctcASOmdr46HDaSoKEbZjPcdrxnCVir+v8n2Ywr7SSnTS5WQikgLJ6nOkT goUQQD9eGB3fNr3drmrNANNrHEiM+Uw7S0hUx988cC92o943JCGrdNrosJx3viBoDxJv RQrQ== X-Gm-Message-State: APjAAAXC8cIVA4Cp0loGApCrLnGvUhux1VVVMNIcva9mbmZEFeZHtiy8 nu4ID6uM2I25W91Jp/2Hp6Fgh39vbME4Awq+ic4alw== X-Google-Smtp-Source: APXvYqxJKkYglk2pXxjlfrEUzlf5xSGLA15OrXqgImtl0RZxQSHuIcDDZd+LMw/wdHnx7vEoJ9JehQhH/W+s8yIVevY= X-Received: by 2002:aa7:8750:: with SMTP id g16mr16474766pfo.190.1569230170662; Mon, 23 Sep 2019 02:16:10 -0700 (PDT) In-Reply-To: <8e1c73c08d724cbea37dd7261c2f6583@WCL-EX13MBX-DR.wcl.local> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166967 Archived-At: Ed Avis writes: > With 26.1 the way to reproduce is a bit different. Make a new buffer, M-x perl-mode, and enter > > my $x = < 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. Thanks for reporting back. I can reproduce this bug with the above recipe on current master and Emacs 26.3. A workaround is to add a semi-colon to END: my $x = <