[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nXhtml / sgml highlighting
From: |
senny |
Subject: |
Re: nXhtml / sgml highlighting |
Date: |
Mon, 29 Dec 2008 04:05:19 -0800 (PST) |
User-agent: |
G2/1.0 |
On 29 Dez., 02:29, "Lennart Borgman" <lennart.borg...@gmail.com>
wrote:
> On Sun, Dec 28, 2008 at 7:13 PM, senny <yves.s...@gmail.com> wrote:
> > I am trying to set up a webdevelopment environemtn with the nxhtml-
> > mode. The syntax highlighting works fine but when i activate nxhtml-
> > mumamo-mode to edit css and js in an html page, the syntax
> > highlighting gets bad. I figured out, that mumamo is using sgml-
> > highlighting and not the nxhtml one.
> > The problem I am facing now is the following:
> > sgml-mode uses the font-lock-function-name-face to highlight tag-names
> > but i want it to be the font-lock-keyword-face. How can i do that?
>
> Unfortunately you can not do it directly. You have to change
> sgml-font-lock-keywords-1 AFAICS.
Hmm i thought so. Im realy new to Lisp / Emacs and im not realy sure
how i would do that in an initializing file. Could you tell me the
simplest way to switch the face in the variable.
regards
senny