GNU bug report logs - #33183
perl-mode: indent-region injects spaces after newlines causing data loss

Previous Next

Package: emacs;

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

Date: Sun, 28 Oct 2018 01:59:01 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33183 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 33183 <at> debbugs.gnu.org
Subject: Re: bug#33183: perl-mode: indent-region injects spaces after
 newlines causing data loss
Date: Wed, 09 Dec 2020 18:33:09 +0100
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> In perl-mode
>
> %fields = (
>     u =>
>     'test
> ing' . q{test
> 2} .
>     qq/last
> test/ );
>
> becomes
>
> %fields = (
>     u =>
>     'test
>     ing' . q{test
>     2} .
>     qq/last
>     test/ );
>
> after running indent-region, on the region. However

I can reproduce this in Emacs 26, but not in Emacs 28, so I guess this
has been fixed in the years since this was reported, and I'm closing
this bug report.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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