emacs-devel
[Top][All Lists]
Advanced

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

cperl-mode instead of perl-mode? (was Re: perl-mode indent bug)


From: Randal L. Schwartz
Subject: cperl-mode instead of perl-mode? (was Re: perl-mode indent bug)
Date: 12 Apr 2006 05:42:17 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "Karl" == Karl Chen <address@hidden> writes:

Karl> Perl-mode mis-indents this:

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

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

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<address@hidden> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!





reply via email to

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