unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthew Calhoun <calhounm@mac.com>
Subject: Face precedence
Date: Fri, 29 Oct 2004 09:26:45 -0700	[thread overview]
Message-ID: <5340521A-29C7-11D9-AE82-0003930EBF00@mac.com> (raw)

Hello,

I'm trying to figure out what determines the order in which faces are 
applied to a block of text. I have highlight face, which is applied to 
whatever line point is on, defined as white text on a dark background. 
But in programming modes I also have some syntax-related faces defined 
with a light background. Strangely, in some of these modes the 
highlight face's light foreground is applied, but not its dark 
background. Instead, the syntax face's light background is displayed, 
resulting in light text on a light background. What I would like to do 
is make sure that highlight face always takes precedence over whatever 
other faces are applied to the text.

I'm sure this is possible, but I haven't been able to find or figure 
out how. Can anyone point me in the right direction?

Thanks,
Matt

             reply	other threads:[~2004-10-29 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29 16:26 Matthew Calhoun [this message]
     [not found] <mailman.6011.1099067730.2017.help-gnu-emacs@gnu.org>
2004-10-29 21:53 ` Face precedence Oliver Scholz
  -- strict thread matches above, loose matches on Subject: below --
2004-11-02 21:23 Matthew Calhoun
     [not found] <mailman.281.1099431126.8225.help-gnu-emacs@gnu.org>
2004-11-06  7:01 ` Oliver Scholz
2004-11-06 18:13   ` Matthew Calhoun
     [not found]   ` <mailman.1102.1099775064.8225.help-gnu-emacs@gnu.org>
2004-11-07  7:31     ` Oliver Scholz
2004-11-07 16:48       ` Matthew Calhoun
     [not found]       ` <mailman.1228.1099846667.8225.help-gnu-emacs@gnu.org>
2004-11-08  8:29         ` Oliver Scholz

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=5340521A-29C7-11D9-AE82-0003930EBF00@mac.com \
    --to=calhounm@mac.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.
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).