[Top][All Lists]

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

Re: perl mode

From: Philippe Delavalade
Subject: Re: perl mode
Date: Wed, 2 Oct 2013 14:23:42 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Fisrt, I'm sorry to havec sent the same message twice but as the first one
didn't appear, I tried again.

Le mercredi 02 octobre à 14:06, Damien Wyart a écrit :
> * Philippe Delavalade <address@hidden> in
> > it's my first post on this list, so be kind with my english :-)
> If you prefer writing in French, there is also a French newsgroup
> related to Emacs : fr.comp.application.emacs.


> > I have problems with indentation in perl mode when usign "$'" ;
> > I guess it comes from the "'"...
> I don't think so: removing it doesn't change the observed behavior.
> > If I run the "indent-region" command (after having marked the whole
> > script", identation is not correct. I suspect I should add some lines
> > in .emacs but I don't know which are the right ones...
> You can use cperl mode instead of perl, it is a bit more powerful. The
> simplest way to do so is by adding this line to .emacs:
> (defalias 'perl-mode 'cperl-mode)
> A quick test shows that your example works better with cperl mode.
> -- 
> DW

Many thanks !

Ph. Delavalade

reply via email to

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