[Top][All Lists]

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

Re: PHP mode in Emacs?

From: Edward O'Connor
Subject: Re: PHP mode in Emacs?
Date: Mon, 01 May 2006 10:29:51 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin)

Lars Magne Ingebrigtsen wrote:

> Languages like PHP are tricky to write major modes for, because they
> mix HTML and PHP in the same buffer.

I think a PHP major mode should specifically only handle PHP code; the
issue of multiple-modes-in-the-same-buffer is orthogonal. Also, I think
the generally-accepted best practice in PHP-land has been to have
only-PHP-files, plus some templating system (such as Smarty), so perhaps
this issue will be come less important as time goes on.

Edward O'Connor

Ense petit placidam sub libertate quietem.

reply via email to

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