From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#15298: 24.3.50; Background color lost when highlighting a string Date: Fri, 13 Dec 2013 20:02:51 +0100 Organization: Sebastien Vauban Message-ID: <86ob4k60bo.fsf@somewhere.org> References: <86d2oksye6.fsf@somewhere.org> <86wqj8kj8t.fsf@somewhere.org> <86fvpwsqpq.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386961464 15352 80.91.229.3 (13 Dec 2013 19:04:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 19:04:24 +0000 (UTC) Cc: 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Dec 13 20:04:30 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VrY2I-0003cS-0j for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 20:04:30 +0100 Original-Received: from localhost ([::1]:44351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrY2H-0006dW-G5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 14:04:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrY1v-0005w5-UY for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 14:04:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrY1r-0001BT-2I for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 14:04:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrY1q-0001BF-Vi for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 14:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VrY1q-0004yr-3Z for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 14:04:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Fri, 13 Dec 2013 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 15298 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 15298-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B15298.138696142819118 (code B ref 15298); Fri, 13 Dec 2013 19:04:02 +0000 Original-Received: (at 15298) by debbugs.gnu.org; 13 Dec 2013 19:03:48 +0000 Original-Received: from localhost ([127.0.0.1]:48841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrY1b-0004yH-Hg for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 13 Dec 2013 14:03:47 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:39895 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrY1Z-0004y9-Av for 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 13 Dec 2013 14:03:45 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.4.62]) by mail.missioncriticalit.com (Postfix) with ESMTPS id C7CC05010B9; Fri, 13 Dec 2013 20:06:22 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Stefan Monnier's message of "Fri, 13 Dec 2013 11:41:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:81905 Archived-At: 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