[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
web-mode.el
From: |
Bois Francois-Xavier |
Subject: |
web-mode.el |
Date: |
Tue, 12 Jun 2012 00:24:41 +0200 |
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
- web-mode.el,
Bois Francois-Xavier <=
- Re: web-mode.el, Chong Yidong, 2012/06/13