all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: How to make emacs fontify a php buffer
Date: Wed, 17 Jun 2009 18:19:15 +0200	[thread overview]
Message-ID: <7cvdmuu930.fsf@pbourguignon.anevia.com> (raw)
In-Reply-To: mailman.797.1245253845.2239.help-gnu-emacs@gnu.org

Harry Putnam <reader@newsguy.com> writes:

> I want emacs to fontify a certain file... I think it is *.php but not
> really sure.
>
> Just adding .php to it does not seem to cause emacs to fontify that file.  Of
> coure I have syntax hilighting turned on.
>
> I've posted the file here:
>
>    www.jtan.com/~reader/script.txt
>
> Anyone recognize what kind of code it is?
> Can anyone tell how to make emacs fontify that file?

Add:

    <!-- -*- mode:php -*- --> 

on the first line.


-- 
__Pascal Bourguignon__


       reply	other threads:[~2009-06-17 16:19 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 ` Pascal J. Bourguignon [this message]
2009-06-17 18:17 ` How to make emacs fontify a php buffer 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
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=7cvdmuu930.fsf@pbourguignon.anevia.com \
    --to=pjb@informatimago.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.