help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages


From: Peter Dyballa
Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages
Date: Thu, 1 Oct 2009 20:01:23 +0200


Am 01.10.2009 um 15:54 schrieb LanX:

(autoload 'mode-compile "mode-compile"
  "Command to compile current buffer file based on the major mode" t)

(add-to-list 'auto-mode-alist '("\\.pl\\'" . cperl-mode))




(message "leaving debug.el")lanx@nc10-ubuntu:~$
lanx@nc10-ubuntu:~$ ll .emacs.d/debug/
insgesamt 588
-r-------- 1 lanx lanx 402932 2009-10-01 15:16 cperl-mode.el
-rw-r--r-- 1 lanx lanx    520 2009-10-01 15:22 debug.el
-rw-r--r-- 1 lanx lanx 101476 2009-06-04 14:46 mode-compile.el


Mode-compile is not part of GNU Emacs.
Cperl-mode is part of GNU Emacs, so there is no sense in installing some foreign file with the same name. Except looking for trouble... You could try to make default value perl-mode in auto-mode-alist to point to cperl-mode (in your init file, for example):

        (defalias 'perl-mode 'cperl-mode)

--
Greetings

  Pete

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
                -Benjamin Franklin, Historical Review of Pennsylvania.





reply via email to

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