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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38655 in the body.
You can then email your comments to 38655 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38655; Package emacs. (Tue, 17 Dec 2019 23:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 17 Dec 2019 23:52:01 GMT) Full text and rfc822 format available.

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"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38655; Package emacs. (Thu, 06 Aug 2020 10:35:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 38655 <at> debbugs.gnu.org
Subject: Re: 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 06 Aug 2020 10:35:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 38655 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 06 Aug 2020 10:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Sep 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 235 days ago.

Previous Next


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