unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ismael Valladolid Torres <ismaeval@free.fr>
Cc: help-gnu-emacs@gnu.org
Subject: Re: perl-mode.el file in Mac OS X
Date: Wed, 2 Feb 2005 09:54:28 +0100	[thread overview]
Message-ID: <20050202085428.GE1784@spma06> (raw)
In-Reply-To: <87c8e99.0502011954.6e3ca099@posting.google.com>

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

  reply	other threads:[~2005-02-02  8:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02  3:54 perl-mode.el file in Mac OS X Nicholas Tamara
2005-02-02  8:54 ` Ismael Valladolid Torres [this message]
2005-02-02  9:39 ` Peter Dyballa
     [not found] ` <mailman.448.1107338600.2841.help-gnu-emacs@gnu.org>
2005-02-02 14:58   ` Stefan Monnier
2005-02-02 15:40     ` Ismael Valladolid Torres
2005-02-02 16:01     ` David Kastrup
2005-02-02 16:12       ` **Re: " Ismael Valladolid Torres
2005-02-02 18:05     ` Peter Dyballa
     [not found]     ` <mailman.557.1107368636.2841.help-gnu-emacs@gnu.org>
2005-02-03  3:53       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050202085428.GE1784@spma06 \
    --to=ismaeval@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).