GNU bug report logs - #38655
Perl mode: TAB or ; insert unwelcome spaces within string

Previous Next

Package: emacs;

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

Date: Tue, 17 Dec 2019 23:52:01 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 38655 <at> debbugs.gnu.org
Subject: bug#38655: Perl mode: TAB or ; insert unwelcome spaces within string
Date: Thu, 06 Aug 2020 12:34:14 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> In perl mode try typing
>
> $a="a
> b";
>
> You'll instead end up with
>
> $a="a
>     b";
>
> upon typing the final ";".
>
> OK, fix by removing the spaces perl-mode wrongly inserted it. Then hit
> TAB anywhere on the last line. The wrongful spaces return.
> emacs-version "26.3"

I'm able to reproduce this in Emacs 26.3, but not in Emacs 28.1, so this
has apparently been fixed by now.  Closing.

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




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

Previous Next


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