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
         (: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---


--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,

Sebastien Vauban

Reply via email to