[Top][All Lists]

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

Re: cperl-mode instead of perl-mode?

From: Piet van Oostrum
Subject: Re: cperl-mode instead of perl-mode?
Date: Sat, 15 Apr 2006 13:45:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

>>>>> address@hidden (Randal L. Schwartz) (RLS) wrote:

>RLS> All the cool-cats I know have completely abandoned perl-mode
>RLS> for cperl-mode long ago.   Is there any way we can just make
>RLS> that the default instead?  It'd keep me from having to copy
>RLS> this from .emacs to .emacs for each new work environment:

>RLS> (while (let ((pm (rassoc 'perl-mode auto-mode-alist)))
>RLS>   (and pm (setcdr pm 'cperl-mode))))
>RLS> (while (let ((pm (rassoc 'perl-mode interpreter-mode-alist)))
>RLS>   (and pm (setcdr pm 'cperl-mode))))

Cperl-mode itself suggests (defalias 'perl-mode 'cperl-mode) which is much
easier. Still necessary to take it with you, but I suppose you want to take
more things from your .emacs with you.

Piet van Oostrum <address@hidden>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: address@hidden

reply via email to

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