all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nic <nferrier@tapsellferrier.co.uk>
Subject: Re: PHP mode in Emacs?
Date: Sun, 30 Apr 2006 15:37:41 +0100	[thread overview]
Message-ID: <87bquj6sei.fsf@nicferrier.tapsellferrier.co.uk> (raw)
In-Reply-To: <m3odyjuodr.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 30 Apr 2006 16:30:40 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> 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.



Nic

  reply	other threads:[~2006-04-30 14:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-30 14:30 PHP mode in Emacs? Lars Magne Ingebrigtsen
2006-04-30 14:37 ` Nic [this message]
2006-04-30 14:49   ` Lars Magne Ingebrigtsen
2006-04-30 15:04 ` Stefan Monnier
2006-04-30 15:14   ` Lars Magne Ingebrigtsen
2006-04-30 15:47     ` Stefan Monnier
2006-04-30 20:54 ` Richard Stallman
2006-05-01 11:42   ` Lars Magne Ingebrigtsen
2006-05-01 14:58     ` Lennart Borgman
2006-05-01 16:17       ` Stefan Monnier
2006-05-01 16:36         ` Lennart Borgman
2006-05-01 16:51           ` Lars Magne Ingebrigtsen
2006-05-01 17:38             ` Stefan Monnier
2006-05-01 20:22               ` Lennart Borgman
2006-05-02  6:48             ` Gian Uberto Lauri
2006-05-02  2:04     ` Richard Stallman
2006-05-01 17:29 ` Edward O'Connor
2006-05-01 18:52   ` Stefan Monnier

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=87bquj6sei.fsf@nicferrier.tapsellferrier.co.uk \
    --to=nferrier@tapsellferrier.co.uk \
    /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.