all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Jason Rumney <jasonr@f2s.com>
Cc: emacs-devel@gnu.org
Subject: Re: nxml-mode faces
Date: Sun, 23 Dec 2007 19:14:43 +0200	[thread overview]
Message-ID: <87prwx1jq8.fsf@jurta.org> (raw)
In-Reply-To: <4767CFA3.10201@f2s.com> (Jason Rumney's message of "Tue, 18 Dec 2007 13:48:19 +0000")

> Fontification I think is an improvement over xml-mode that can be
> changed if others do not agree:
>
> 1. Keywords in the prolog, such as SYSTEM and PUBLIC are fontified as
> keywords, as is CDATA. xml-mode does not fontify these.
>
> 2. Entity and character references are fontified in
> font-lock-constant-face. xml-mode fontifies entity references in
> font-lock-variable-name face (the same as attribute names), and does not
> fontify numeric character references at all.

Thanks for making nxml-mode and xml-mode faces the same.
Too bad there are still differences in faces for entity references.
It seems your changes in nxml-mode are better than current faces in
xml-mode.  Is there a reason not to change font-lock-variable-name
to font-lock-constant-face for entity references in xml-mode now?

-- 
Juri Linkov
http://www.jurta.org/emacs/

      parent reply	other threads:[~2007-12-23 17:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 13:48 nxml-mode faces Jason Rumney
2007-12-18 14:25 ` Miles Bader
2007-12-18 16:15 ` Eric Lilja
2007-12-18 20:04 ` Lennart Borgman (gmail)
2007-12-18 23:37 ` Richard Stallman
2007-12-20 16:04   ` Jason Rumney
2007-12-21 11:01     ` Eric Lilja
2007-12-23 17:14 ` Juri Linkov [this message]

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

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

  git send-email \
    --in-reply-to=87prwx1jq8.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@f2s.com \
    /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.
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.