Bois Francois-Xavier <
fxbois@gmai...> writes:
> 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"
> of (point) (which can be in an HTML part or in a PHP/JavaScript/CSS
> bloc).
> 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.
>
> I will release this mode on github after reading your comments/advices.
>
> Thank you in advance.
>
> François-Xavier Bois
>
> ps: sorry for my poor english
>
just fyi : The git link in the web-mode source doesn't work:-
https://github.com/fxbois/web-mode
I would be interested to understand more fully what this offers that
nxhtml does not. Also, in the auto-mode-alist example here
http://fxbois.free.fr/lisp/web-mode.html
did you really mean psp as opposed to php?
regards
r.
opensubscriber is not affiliated with the authors of this message nor responsible for its content.