From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Tag background color overridden by hl-line in the agenda Date: Tue, 28 Apr 2015 16:32:39 +0200 Message-ID: <86y4lciarc.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Could it be possible to make the behavior for the tag colors the same as for priority cookies when `hl-line-mode' is enabled? At http://screencast.com/t/T0n1x6L93f, you can easily see what I mean: the background of "#A" is not overridden by the highlighting of the current line while it is for the tag "FLAGGED" -- quite unreadable when one chooses a light foreground for the tags. Minimal settings: --8<---------------cut here---------------start------------->8--- (setq org-tag-alist '(("FLAGGED" . ??))) (setq org-tag-faces '(("FLAGGED" (:weight bold :slant italic :foreground "white" :background "#DB2D27")))) (setq org-priority-faces '((?A . (:weight bold :foreground "#5F3731" :background "#EFC4C0")) (?B . (:foreground "#475443" :background "#D5E1D0")) (?C . (:foreground "#2D373F" :background "#C9DBE3")))) --8<---------------cut here---------------end--------------->8--- ECM: --8<---------------cut here---------------start------------->8--- #+TITLE: Example of Tasks * Work :work: ** TODO [#A] Plan conference in Boston :FLAGGED: DEADLINE: <2015-04-13 lun.> ** TODO [#B] Launch advertisement DEADLINE: <2015-04-06 lun.> * Personal :perso: ** TODO Go to the dentist SCHEDULED: <2015-04-11 sam.> --8<---------------cut here---------------end--------------->8--- PS- Note that the background of "#A" is well overridden by the hl-line in the Org source buffer. Not the same behavior as within the agenda... See http://screencast.com/t/KzyM78xP. Best regards, Seb -- Sebastien Vauban