all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: William Case <billlinux@rogers.com>
Cc: EMACS List <help-gnu-emacs@gnu.org>
Subject: Re: Changing font-lock for combined HTML and PHP code??
Date: Mon, 16 Apr 2007 21:41:01 +0200	[thread overview]
Message-ID: <4623D14D.1050609@gmail.com> (raw)
In-Reply-To: <1176747727.3057.13.camel@CASE>

William Case wrote:
> Hi;
> 
> I am working on web site made up of files that combine HTML and PHP.  My
> main interest is in the PHP coding.  Is there a relatively easy way to
> set the font-lock colors for the tags (constants) that distinguishes
> between a HTML tag and a PHP tag when I am in php-mode. 
> 
> In case I am misusing terminology, by tag I mean expressions like
> <p> ... </p> in HTML; <?php ... ?> in PHP.

Yes, perhaps. If you are using the Emacs 22 beta then you can use nXhtml:

    http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html

But at the moment I am working to fix some bugs, see the "News and Notes 
about nXhtml" at the top. I hope I can upload a new version the nearest 
days, ie version 0.98 (the latest upload is v 0.97).

  reply	other threads:[~2007-04-16 19:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16 18:22 Changing font-lock for combined HTML and PHP code?? William Case
2007-04-16 19:41 ` Lennart Borgman (gmail) [this message]
2007-04-17 18:49 ` Karl Hegbloom
     [not found] <mailman.2139.1176748185.7795.help-gnu-emacs@gnu.org>
2007-04-16 19:13 ` Eric Lilja
2007-04-16 19:55   ` William Case
     [not found]   ` <mailman.2146.1176753780.7795.help-gnu-emacs@gnu.org>
2007-04-18 15:15     ` Hadron
2007-04-18 15:49       ` Lennart Borgman (gmail)
2007-04-18 18:59         ` William Case
2007-04-29  4:44         ` William Case

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=4623D14D.1050609@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=billlinux@rogers.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.