[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15298: 24.3.50; Background color lost when highlighting a string
From: |
Sebastien Vauban |
Subject: |
bug#15298: 24.3.50; Background color lost when highlighting a string |
Date: |
Fri, 13 Dec 2013 20:02:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
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