help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change line continuation behavior in cperl-mode


From: Xah Lee
Subject: Re: Change line continuation behavior in cperl-mode
Date: Mon, 16 Mar 2009 19:38:30 -0700 (PDT)
User-agent: G2/1.0

On Mar 16, 12:08 am, Alex <check....@for.email.invalid> wrote:
> XahLeewrote:
> > I tried this:
>
> > #perl
> > $some = "sme" .
> >     "what" .
> >     "that" .
> >     "and";
> > print $some;
>
> > but it seems to align? i'm not aware that perl line needs a dot to
> > signify continue? can you give a example?
>
> I'm having the same problem as Steve mentioned and I also noticed that
> sometimes it seems to work. Most importantly, I get the staircase effect
> inside a sub, but not outside.
> Example:
>
> my $s = "this"
>      . " string"
>      . " is"
>      . " long";
>
> sub bus {
>      my $s = "this"
>          . " string"
>              . " goes on"
>                  . " and on";
>
> }

I reproduced it. Don't know how to solve. Looks like its by design.

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]