unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38655: Perl mode: TAB or ; insert unwelcome spaces within string
@ 2019-12-16  5:36 積丹尼 Dan Jacobson
  2020-08-06 10:34 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-12-16  5:36 UTC (permalink / raw)
  To: 38655

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"





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#38655: Perl mode: TAB or ; insert unwelcome spaces within string
  2019-12-16  5:36 bug#38655: Perl mode: TAB or ; insert unwelcome spaces within string 積丹尼 Dan Jacobson
@ 2020-08-06 10:34 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-06 10:34 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 38655

積丹尼 Dan Jacobson <jidanni@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-06 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  5:36 bug#38655: Perl mode: TAB or ; insert unwelcome spaces within string 積丹尼 Dan Jacobson
2020-08-06 10:34 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).