[Top][All Lists]

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

Re: web-mode.el

From: Bois Francois-Xavier
Subject: Re: web-mode.el
Date: Tue, 12 Jun 2012 15:23:04 +0200

Dear Lennart

Yes before starting this project I tried almost all other alternatives
and none of them really fully worked for me. That's why I started
web-mode.el ; I use it now almost every day for a few months.

Features that were really important for me are :
 - indentation (in particular HTML tags, HTML attributes, PHP arrays
or function calls spanning on multiple lines)
 - coherent syntax highlighting (according to the context)
 - centralization (config)
 - HTML element navigation
 - maintainability, evolutivity
 - speed

On Tue, Jun 12, 2012 at 1:37 PM, Lennart Borgman
<address@hidden> wrote:
> On Tue, Jun 12, 2012 at 12:24 AM, Bois Francois-Xavier <address@hidden> 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"
>> 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.
> Dear Bois, have you compared the functionality in web-mode.el with
> that you can get with nXthml? (See EmacsWiki for links.)

Fran├žois-Xavier BOIS
KerniX Software
15, rue Cels
75014 PARIS
tel : 01 53 98 73 43
fax : 01 53 98 73 45

reply via email to

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