On Tue, Jun 12, 2012 at 12:24 AM, Bois Francois-Xavier <fxbois@gmai...> wrote:
> Dear Emacsians,
> I've written web-mode.el, a major mode for PHP/HTML templates files.
> It aims to natively indent and syntaxcolor according to the "context"
> As it is my first experience with emacs lisp programming, I would be
> really grateful to receive your feedbacks on any aspect of this mode
> (core programming, function/var naming, conventions, etc.). For many
> aspects, I wonder if I use hacks or correct ways to do the job (ex. I
> look at the face name in my indent function to know if (point) is in a
> comment or a string).
> The mode is available here:
> http://fxbois.free.fr/lisp/web-mode.el >
> I will also publish a web page which will look like this:
> http://fxbois.free.fr/lisp/web-mode.html >
> Perhaps you also have comments about it.
Dear Bois, have you compared the functionality in web-mode.el with
that you can get with nXthml? (See EmacsWiki for links.)