[Israel.pm] Perl and XEmacs

Yossi.Itzkovich at ecitele.com Yossi.Itzkovich at ecitele.com
Sun Jun 4 22:58:09 PDT 2006


Thanks.

It did the work.

Yossi


perl-bounces at perl.org.il wrote on 04/06/2006 18:27:04:

> Hi,
>
> I understand that you are talking about "Abbreviation" mode
> when xemacs complete whole "(if|for|while|...)" block after
> he find right string. If you want that "{ }" block will start from new
> line you need to define "cperl-extra-newline-before-brace" as "true".
> put at end of file "~/.xemacs/custom.el" line:
> (setq cperl-extra-newline-before-brace t)
>
>
> thanks
> Pinkhas Nisanov
>
>
>
> On 6/4/06, Yossi.Itzkovich at ecitele.com <Yossi.Itzkovich at ecitele.com>
wrote:
> > Hi,
> >
> > When I write Perl in XEmacs,  The opening "{" of a block, is always at
the
> > end of the opening block statement (if/foreach), instead of a seperate
> > line.
> >
> > For example:
> >
> > if ($a)  {
> >
> > ....
> >
> >       }
> >
> >
> > instead of :
> >
> > if ($a)
> > {
> > ....
> > }
> >
> >
> > Does domeone know how to change it ?
> >
> > Thanks
> >
> > Yossi
> >
> > _______________________________________________
> > Perl mailing list
> > Perl at perl.org.il
> > http://perl.org.il/mailman/listinfo/perl
> >
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl




More information about the Perl mailing list