[Top][All Lists]

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

Re: perl mode

From: Damien Wyart
Subject: Re: perl mode
Date: Wed, 02 Oct 2013 14:06:22 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50

* 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.


reply via email to

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