emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Tag background color overridden by hl-line in the agenda


From: Sebastien Vauban
Subject: [O] Tag background color overridden by hl-line in the agenda
Date: Tue, 28 Apr 2015 16:32:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]