[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better syntax highlighting
From: |
Deniz Dogan |
Subject: |
Re: Better syntax highlighting |
Date: |
Thu, 22 Jul 2010 12:30:09 +0200 |
2010/7/22 Aidan Gauland <aidalgol@no8wireless.co.nz>:
> Giuseppe Fuggiano wrote:
>> I'm learning Emacs for programming tasks and I think it's very powerful.
>>
>> But, the first thing I saw migrating from Vim is that Emacs handles
>> syntax highlighting differently, often messing up if a given source
>> contains multiple languages (like a PHP file). I tried a plugin named
>> nxhtml, but it seems heavy and makes Emacs' startup quite slow. I don't
>> want to start an editor war here, just point out that Emacs seems so
>> powerful, but doesn't have a smart syntax highlighting available out of
>> the box.
>>
>> I'm sure there's a solution to this. That's why I'm posting.
>
> I stumbled upon this page...
> <http://www.emacswiki.org/cgi-bin/wiki/MultipleModes>
> ...but I've never tried anything listed there, because I don't suffer from
> multiple-personality disorder. ;)
>
Note that nxhtml actually uses mumamo for a lot of its functionality,
e.g. mako-nxhtml-mumamo-mode, asp-nxhtml-mumamo-mode and
django-nxhtml-mumamo-mode.
--
Deniz Dogan