[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 <philippe.delavalade@orange.fr> in gnu.emacs.help:
> 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
- perl mode, Philippe Delavalade, 2013/10/02
- Re: perl mode,
Damien Wyart <=