From: Miguel Ulloa <migu71@yahoo.com>
Subject: PHP syntax highlighting (editing .emacs to look for php-mode.el. from within ~ directory.)
Date: Sat, 12 Apr 2003 19:28:31 GMT [thread overview]
Message-ID: <zNZla.3860$TR5.1550@twister.nyc.rr.com> (raw)
OS: Solaris (Sun Microsystems Inc. SunOS 5.8)
I have a restricted account given to me by school.
Emacs Version: GNU Emacs 20.6.1
I would like to enable syntax highlighting for PHP.
http://www.miba.auc.dk/net-common/guides/emacs/config.php suggests:
If you program in PHP you will probably need php-mode. It can be turned
on automatically when you load a .php or .php3 file with the following
code to include in your .emacs:
(require 'php-mode)
(setq auto-mode-alist
(append '(("\\.php$" . php-mode)
("\\.php3$" . php-mode))
auto-mode-alist))
This however requires access to /bin/emacs/emacs-21.2/lisp/progmodes to
install php-mode.el. I do not have such access. I was wondering if
anybody knows how could I edit .emacs to look for my php-mode.el. from
within my home directory. Thanks in advance,
Miguel Ulloa
p.s. You can download php-mode.el from
http://sourceforge.net/projects/php-mode/ I tested it under Windows and
Slackware Linux. It works ^_^…
next reply other threads:[~2003-04-12 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-12 19:28 Miguel Ulloa [this message]
2003-04-13 6:16 ` PHP syntax highlighting (editing .emacs to look forphp-mode.el. from within ~ directory.) Adrian Mrva
[not found] ` <mailman.4510.1050214597.21513.help-gnu-emacs@gnu.org>
2003-04-16 3:56 ` Miguel Ulloa
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='zNZla.3860$TR5.1550@twister.nyc.rr.com' \
--to=migu71@yahoo.com \
/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).