jed-users mailing list

[2016 Date Index] [2016 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[jed-users] Re: open brace and indention


On Mon 2016-02-15 (00:00), John E. Davis wrote:
> Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > jed's auto-indention gets confused when I use the internal Perl
> > variable $( (effective GID) in my programfile.
> > jed thinks, it is a open brace, but it is not.
> > How can I correct it?
> 
> Without making changes to the underlying C code, all I can suggest is
> that you put $( inside quotes, i.e.,
> 
>    "$("

"$(" = 0; # is not valid Perl code.

But I found a Perl workaround:

$( = ${q.).} = 0;

This also satisfies jed brace matching.


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20160215050000.055F1254A02D@xxxxxxxxxxx>
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2016 date index] [2016 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]