all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* nXhtml / sgml highlighting
@ 2008-12-28 18:13 senny
  2008-12-29  1:29 ` Lennart Borgman
       [not found] ` <mailman.3476.1230514153.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: senny @ 2008-12-28 18:13 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Thanks in advance
senny


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nXhtml / sgml highlighting
  2008-12-28 18:13 nXhtml / sgml highlighting senny
@ 2008-12-29  1:29 ` Lennart Borgman
       [not found] ` <mailman.3476.1230514153.26697.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2008-12-29  1:29 UTC (permalink / raw)
  To: senny; +Cc: help-gnu-emacs

On Sun, Dec 28, 2008 at 7:13 PM, senny <yves.senn@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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nXhtml / sgml highlighting
       [not found] ` <mailman.3476.1230514153.26697.help-gnu-emacs@gnu.org>
@ 2008-12-29 12:05   ` senny
  0 siblings, 0 replies; 3+ messages in thread
From: senny @ 2008-12-29 12:05 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-29 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-28 18:13 nXhtml / sgml highlighting senny
2008-12-29  1:29 ` Lennart Borgman
     [not found] ` <mailman.3476.1230514153.26697.help-gnu-emacs@gnu.org>
2008-12-29 12:05   ` senny

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.