[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 12 Jun 2012 15:24:28 +0200
On Tue, Jun 12, 2012 at 1:54 PM, Bois Francois-Xavier <address@hidden> wrote:
> Dear Lennart
> Thank you for your mail.
> Yes before starting this project I tried almost all alternative and
> none of them really fully worked for me.
I am, as you probably know, the author of nXhtml. It includes MuMaMo,
a general framework for editing files where different Emacs' major
modes can be useful for different parts of the files. (Which I call
This approach can not be implemented in a perfect way as Emacs works
now. However implementing special solutions for different problems
would in my opinion be just too much work. Maintenance would take very
So I wonder if you perhaps could tell what problems you saw in nXhtml
(in this regard) and look into if you could fix them?
> That's why I started this
> project ; I use it now almost every day for a few months and I would
> like to share it now.
> Features that were really important for me were :
> - indentation (in particular, HTML elements, HTML attributes, PHP
> arrays on multilines)
> - cohérent syntax highlighting (according to the context)
> - HTML element navigation
> - maintainability
> - speed
> Have you tried this mode ?
> 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>
>>> 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:
>>> I will also publish a web page which will look like this:
>>> 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