From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages Date: Thu, 1 Oct 2009 20:01:23 +0200 Message-ID: <5397B484-241E-4DF2-AA2C-F2AA26C464E0@web.de> References: <6d2cb724-900e-4e8a-9145-8b271037c8e2@z24g2000yqb.googlegroups.com> <271a1a36-c8db-414a-a329-72a903207334@c3g2000yqd.googlegroups.com> <1544A0C5-7D0B-4B56-BC70-C8684173706A@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254420428 29449 80.91.229.12 (1 Oct 2009 18:07:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2009 18:07:08 +0000 (UTC) Cc: Emacs mailing list To: LanX Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 20:06:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MtQ3M-00069G-Bx for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2009 20:06:56 +0200 Original-Received: from localhost ([127.0.0.1]:43207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtQ3L-0002NB-Ta for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2009 14:06:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtQ1Z-0001WQ-NO for help-gnu-emacs@gnu.org; Thu, 01 Oct 2009 14:05:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtQ1V-0001S6-1I for help-gnu-emacs@gnu.org; Thu, 01 Oct 2009 14:05:05 -0400 Original-Received: from [199.232.76.173] (port=57199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtQ1U-0001Rx-SO for help-gnu-emacs@gnu.org; Thu, 01 Oct 2009 14:05:00 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:39322) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtQ1U-0000jd-8f for help-gnu-emacs@gnu.org; Thu, 01 Oct 2009 14:05:00 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 9526A127E1845; Thu, 1 Oct 2009 20:01:28 +0200 (CEST) Original-Received: from [91.35.219.163] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (WEB.DE 4.110 #314) id 1MtPy1-0002Fx-00; Thu, 01 Oct 2009 20:01:25 +0200 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/iJ1gHsjYJeB3hz27bFzcw0CLFBIRRlKhBRvFK LSayiMcwM4K+UDO8meg6TGGJ0R1gBr1tOB5T/N3xdor8sahkl6 OnX5cIy9lDW8pK1CY3fA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68608 Archived-At: 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.