[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP mode in Emacs?

From: Nic
Subject: Re: PHP mode in Emacs?
Date: Sun, 30 Apr 2006 15:37:41 +0100

Lars Magne Ingebrigtsen <address@hidden> writes:

> This is probably something that's been asked a lot, but I can't seem
> to find the answer.
> Are there any plans to include a PHP mode in Emacs?  Googling around
> finds a couple of these modes, one of which is based on mmm-mode.  I
> can't find any recent developments, though.
> mmm-mode is something that allows you to run several major modes in
> one buffer, apparently.  Languages like PHP are tricky to write major
> modes for, because they mix HTML and PHP in the same buffer.
> So what's up?  If none of the existing modes are appropriate for
> inclusion, I might be tempted to have a go at it.  

It is a *really* difficult task because it's not just mixing PHP code
and HTML. PHP can also be used to generate other content types.

For example, generating XML is quite trivial. So it's not just a case
of making a mode that has PHP syntax support _and_ HTML support.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]