cperl-mode.el (was: Re: FAQ 3.12 Where can I get perl-mode for emacs?)
- From: benkasminbullock@xxxxxxxxx (Ben Bullock)
- Date: Wed, 30 Apr 2008 00:23:51 +0000 (UTC)
PerlFAQ Server <brian@xxxxxxxxxxxxxx> wrote:
In the Perl source directory, you'll find a directory called "emacs",
which contains a cperl-mode that color-codes keywords, provides
context-sensitive help, and other nifty things.
This advice is outdated, because 'cperl-mode.el' is now part of the
Emacs distribution, so it's not necessary to look in the Perl source
directory.
Working code is greatly appreciated.
I add the following line to Emacs to make cperl the default:
(defalias 'perl-mode 'cperl-mode)
I also have the following defaults:
(setq cperl-indent-level 4
cperl-close-paren-offset -4
cperl-brace-offset -4
cperl-label-offset 0
cperl-continued-statement-offset 4
cperl-tab-always-indent t)
.
- Follow-Ups:
- Re: cperl-mode.el (was: Re: FAQ 3.12 Where can I get perl-mode for emacs?)
- From: Ilya Zakharevich
- Re: cperl-mode.el (was: Re: FAQ 3.12 Where can I get perl-mode for emacs?)
- From: brian d foy
- Re: cperl-mode.el (was: Re: FAQ 3.12 Where can I get perl-mode for emacs?)
- References:
- FAQ 3.12 Where can I get perl-mode for emacs?
- From: PerlFAQ Server
- FAQ 3.12 Where can I get perl-mode for emacs?
- Prev by Date: Re: Global symbol "%Properties" requires explicit package name
- Next by Date: FAQ 3.7 How do I cross-reference my Perl programs?
- Previous by thread: FAQ 3.12 Where can I get perl-mode for emacs?
- Next by thread: Re: cperl-mode.el (was: Re: FAQ 3.12 Where can I get perl-mode for emacs?)
- Index(es):
Relevant Pages
|