unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Stefan Monnier <monnier-TBKEPPAhkIr7qOVTksikzQ@public.gmane.org>
Cc: 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#15298: 24.3.50; Background color lost when highlighting a string
Date: Fri, 13 Dec 2013 20:02:51 +0100	[thread overview]
Message-ID: <86ob4k60bo.fsf@somewhere.org> (raw)
In-Reply-To: <jwvk3f83dsp.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org> (Stefan Monnier's message of "Fri, 13 Dec 2013 11:41:01 -0500")

Stefan Monnier wrote:
>> I thought that faces were just added one onto the other, but that the
>> problem could happen because the order is not the one we expected.
>
> There's another issue at play, here: by default, a rule is only applied
> if the matched text has not already been highlighted by an earlier rule.

Do I understand correctly that the presented problem can't be fixed,
then?

To restate it,

1. I have defined some Org faces like this (in my custom theme):

--8<---------------cut here---------------start------------->8---
  `(org-headline-done ((,class (:height 1.0 :weight normal :foreground "#999999"))))
  `(org-link ((,class (:underline t :foreground "#006DAF"))))
  `(org-table ((,class (:foreground "dark green" :background "#EAFFEA"))))
--8<---------------cut here---------------end--------------->8---

2. When I set a task DONE, or when I insert a link inside a table, I
   loose some highlighting properties.

See image http://screencast.com/t/mRdBszsssJ for the example:

--8<---------------cut here---------------start------------->8---
*** TODO This text does surimpose on the green background

*** DONE When a task is done, its background becomes white!

|      | Normal text  | 10 |
| link | http://www/  | 11 |
|      | Other things | 12 |
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban





  parent reply	other threads:[~2013-12-13 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-07 10:45 bug#15298: 24.3.50; Background color lost when highlighting a string Sebastien Vauban
2013-11-14  4:01 ` Glenn Morris
     [not found] ` <mailman.6032.1384401725.10748.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.6032.1384401725.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-12-13 12:50     ` Sebastien Vauban
2013-12-13 14:11       ` Eli Zaretskii
2013-12-13 16:14         ` Josh
2013-12-13 18:45           ` Eli Zaretskii
2013-12-13 20:21             ` Josh
     [not found]       ` <mailman.9107.1386943937.10748.bug-gnu-emacs@gnu.org>
     [not found]         ` <mailman.9107.1386943937.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-12-13 15:41           ` Sebastien Vauban
2013-12-13 16:08             ` Eli Zaretskii
2013-12-13 16:41             ` Stefan Monnier
     [not found]               ` <jwvk3f83dsp.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2013-12-13 19:02                 ` Sebastien Vauban [this message]
2013-12-14  2:17                   ` Stefan Monnier

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=86ob4k60bo.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=monnier-TBKEPPAhkIr7qOVTksikzQ@public.gmane.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.
Code repositories for project(s) associated with this public inbox

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

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).