From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#35925: perl-mode wrecks formats Date: Mon, 27 May 2019 21:11:05 +0800 Message-ID: <87lfysujo6.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170834"; mail-complaints-to="usenet@blaine.gmane.org" To: 35925@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 27 15:59:12 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVG9f-000iGC-HA for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 May 2019 15:59:12 +0200 Original-Received: from localhost ([127.0.0.1]:46355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVG9e-0006te-FT for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 May 2019 09:59:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVG9X-0006tO-Rl for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVG9W-0007Bp-Vp for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVG9W-0007BV-Th for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVG9W-0004WN-IP for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 May 2019 13:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35925 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155896550517322 (code B ref -1); Mon, 27 May 2019 13:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 May 2019 13:58:25 +0000 Original-Received: from localhost ([127.0.0.1]:53682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVG8v-0004VJ-By for submit@debbugs.gnu.org; Mon, 27 May 2019 09:58:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVG8t-0004V3-S4 for submit@debbugs.gnu.org; Mon, 27 May 2019 09:58:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVG8o-0006w0-MW for submit@debbugs.gnu.org; Mon, 27 May 2019 09:58:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVG8n-0006jH-Om for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVG8m-0006ux-Pn for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:58:17 -0400 Original-Received: from golden.birch.relay.mailchannels.net ([23.83.209.73]:6129) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVG8m-0006s4-AF for bug-gnu-emacs@gnu.org; Mon, 27 May 2019 09:58:16 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A13836A2CA0 for ; Mon, 27 May 2019 13:58:12 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (100-96-89-88.trex.outbound.svc.cluster.local [100.96.89.88]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 21C366A327D for ; Mon, 27 May 2019 13:58:12 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Mon, 27 May 2019 13:58:12 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Battle-Bottle: 4d72451739584276_1558965492484_2687001868 X-MC-Loop-Signature: 1558965492484:887689993 X-MC-Ingress-Time: 1558965492484 Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id 83F9383EEF for ; Mon, 27 May 2019 06:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=rUzwTVk8Atbu9SxYTdqXAMB+ijw=; b=dCwGVOX+y7jMJUIj tnp9vQd4jGvYIZrpo+/NyzPnsmB9Jz8jcRFntfLGjiL9fHOafI1Wr6zOUlmEis2a rpP7//L1/EnBROQ0YRDbG1g6wSj5LDo7ICgUucTMeAYu8Ee6hIqKHCHmdzehenjx 12nH8wb4EbiN8jlxX2S9Em0KFiI= Original-Received: from jidanni.org (114-41-9-41.dynamic-ip.hinet.net [114.41.9.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id 271987F15C for ; Mon, 27 May 2019 06:58:08 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a31 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddvvddgjedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurdelrdegudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdeguddrledrgedupdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:159810 Archived-At: In perl-mode, format FH = @<< @# @<< @### @<<<<< @# @<<<< @# (split)[0..5, 7..8] . write FH; becomes format FH = @<< @# @<< @### @<<<<< @# @<<<< @# (split)[0..5, 7..8] . write FH; wrecking output indentation and even introducing a syntax error on the "." line. (See man perlform.) Seen with C-x h TAB, emacs-version "26.1".