unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christian Mallwitz <mallwitz@acm.org>
Subject: highlighting/fontification of xml  tags
Date: Fri, 16 May 2003 07:42:11 -0400	[thread overview]
Message-ID: <ba2iqk$6r9$1@linux1.netconx.de> (raw)

hi,

I use xml-mode to edit xml files. my problem: highlighting all tags in 
one color, all comments in one color and all text in one color is rather 
silly. I would like to define a list which color certain tags should 
have and put that e.g. in my .emacs file.

I had already a look at sgml-tag-face-alist in sgml-mode but couldn't 
figure out what to do with it. can somebody provide me with an example? 
or is there a more clever way to handle the situation? I could live with 
a fixed set of color definition for xml tag names applying to all my xml 
files...

I use emacs 21.2.1 on W2K and the xml-mode that comes with it (derived 
from sgml-mode).

thanks
christian

                 reply	other threads:[~2003-05-16 11:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ba2iqk$6r9$1@linux1.netconx.de' \
    --to=mallwitz@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).