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 16:41:53 +0100 Organization: Sebastien Vauban Message-ID: <86fvpwsqpq.fsf@somewhere.org> References: <86d2oksye6.fsf@somewhere.org> <86wqj8kj8t.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386949449 722 80.91.229.3 (13 Dec 2013 15:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 15:44:09 +0000 (UTC) Cc: 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Dec 13 16:44:15 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 1VrUuV-00041h-E9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 16:44:15 +0100 Original-Received: from localhost ([::1]:43199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrUuV-0001im-3z for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 10:44:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrUuN-0001iD-NX for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 10:44:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrUuJ-0004h5-BR for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 10:44:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrUuJ-0004gu-5V for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 10:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VrUuI-0004rk-KF for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 13 Dec 2013 10:44: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 15:44: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.138694938318591 (code B ref 15298); Fri, 13 Dec 2013 15:44:02 +0000 Original-Received: (at 15298) by debbugs.gnu.org; 13 Dec 2013 15:43:03 +0000 Original-Received: from localhost ([127.0.0.1]:48666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrUtL-0004pl-12 for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 13 Dec 2013 10:43:03 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:44543 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrUt6-0004p8-Ls for 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 13 Dec 2013 10:42:59 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 4B7935010B9; Fri, 13 Dec 2013 16:45:26 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Fri, 13 Dec 2013 16:11:14 +0200") 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:81882 Archived-At: Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Date: Fri, 13 Dec 2013 13:50:26 +0100 >> Cc: 15298-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org >>=20 >> Side question: when we observe such a word which is not highlighted as >> we expect it, is there a way to see the list of all applied faces in the >> order they are applied? That'd help debugging such a problem... > > The problem in this case (and other similar ones) is that the face you > expected was removed, and then another one applied to the same text. > Removed faces are not recorded anywhere, as you might expect. 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. Were are faces removed? If I'm asking the above, it's because I'd like to see how we can try to resolve a bug (this time) in Org fontification. See http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01168.html. The problem lies in the function `org-set-font-lock-defaults', but I have to admit it seems too complex for me to fix it. I'm lost in expressions such as: --8<---------------cut here---------------start------------->8--- ;; DONE (if org-fontify-done-headline (list (format org-heading-keyword-regexp-format (concat "\\(?:" (mapconcat 'regexp-quote org-done-keywords "\\|") "\\)")) '(2 'org-headline-done t)) nil) --8<---------------cut here---------------end--------------->8--- (lines 6278 =C3=A0 6286 of `org.el') Best regards, Seb --=20 Sebastien Vauban