emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tag background color overridden by hl-line in the agenda
@ 2015-04-28 14:32 Sebastien Vauban
  0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2015-04-28 14:32 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-28 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 14:32 Tag background color overridden by hl-line in the agenda Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).