From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ismael Valladolid Torres Newsgroups: gmane.emacs.help Subject: Re: perl-mode.el file in Mac OS X Date: Wed, 2 Feb 2005 09:54:28 +0100 Message-ID: <20050202085428.GE1784@spma06> References: <87c8e99.0502011954.6e3ca099@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107336910 31541 80.91.229.2 (2 Feb 2005 09:35:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2005 09:35:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 02 10:35:10 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwGuA-0002cd-9v for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Feb 2005 10:34:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwH7G-0006rB-0W for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Feb 2005 04:48:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CwGXf-0006Ob-SY for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 04:11:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CwGXd-0006N5-BV for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 04:11:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwGXc-0006LD-SO for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 04:11:16 -0500 Original-Received: from [213.4.129.135] (helo=telesmtp3.mail.isp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CwGHe-0005WY-5e for help-gnu-emacs@gnu.org; Wed, 02 Feb 2005 03:54:46 -0500 Original-Received: from spma06.frrs.oberthurcs.com ([80.24.49.234]) by telesmtp3.mail.isp (terra.es) with ESMTP id IBA0R800.C8O; Wed, 2 Feb 2005 09:54:44 +0100 Original-Received: by spma06.frrs.oberthurcs.com (sSMTP sendmail emulation); Wed, 2 Feb 2005 09:54:28 +0100 Original-To: Nicholas Tamara Content-Disposition: inline In-Reply-To: <87c8e99.0502011954.6e3ca099@posting.google.com> User-Agent: Mutt/1.5.6i 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23838 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23838 Nicholas Tamara escribe: > Can anyone point me to the right location to place the perl-mod.el > file so that the emacs that comes with Mac OS X recognizes .pl files > as Perl script files? Thanks. Not exactly perl-mod.el related, but these snippets in your .emacs should work with any similar package: (add-to-list 'load-path (expand-file-name "~/.elisp")) Put perl-mod.el inside ~/.elisp, then add also: (if (load "perl-mod" 't) (setq auto-mode-alist (cons '("\\.pl$" . post-mode) auto-mode-alist))) If later you byte-compile perl-mod, then instead this will use the faster-loading resulting .elc file. EmacsWiki is your friend! Cordially, Ismael