emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Tag background color overridden by hl-line in the agenda
Date: Tue, 28 Apr 2015 16:32:39 +0200	[thread overview]
Message-ID: <86y4lciarc.fsf@example.com> (raw)

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	other threads:[~2015-04-28 14:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y4lciarc.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).