From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to make emacs fontify a php buffer
Date: Thu, 18 Jun 2009 08:59:29 -0500 [thread overview]
Message-ID: <87my858wxq.fsf@newsguy.com> (raw)
In-Reply-To: 4a395fd5$0$90271$14726298@news.sunsite.dk
"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:
> Harry,
>
> Harry Putnam wrote:
>>
>> No it didn't work on the file... apparently php-mode library is not
>> loading on startup.. so added this (including your suggestion)
>>
>>
>> (require 'php-mode)
>> (add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode) 't)
>>
> Harry,
>
> If you don't use php-mode often, then it might be better to replace
> the (requires...) with
> (autoload 'php-mode '"php-mode")
[...]
Thanks for the nice tip...looks like a good one.
next prev parent reply other threads:[~2009-06-18 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.797.1245253845.2239.help-gnu-emacs@gnu.org>
2009-06-17 16:19 ` How to make emacs fontify a php buffer Pascal J. Bourguignon
2009-06-17 18:17 ` Colin S. Miller
2009-06-17 21:09 ` Harry Putnam
[not found] ` <mailman.820.1245273011.2239.help-gnu-emacs@gnu.org>
2009-06-17 21:27 ` Colin S. Miller
2009-06-18 13:59 ` Harry Putnam [this message]
2009-06-17 15:50 Harry Putnam
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87my858wxq.fsf@newsguy.com \
--to=reader@newsguy.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.