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


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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Perl mode: TAB or ; insert unwelcome spaces within string
Date: Mon, 16 Dec 2019 13:36:00 +0800
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"




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.