emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Kerr <mkerr23@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda-dim-blocked-tasks don't use org-todo face
Date: Wed, 14 Dec 2022 16:11:59 -0500	[thread overview]
Message-ID: <CAM9qJ5J49zwXXG62h3TKkg1MSCtL7pKOPx4dgwnTqwCkokzqFQ@mail.gmail.com> (raw)
In-Reply-To: <87v8mfeo7h.fsf@localhost>

On Tue, Dec 13, 2022 at 2:51 AM Ihor Radchenko <yantar92@posteo.net> wrote:
> Mark Kerr <mkerr23@gmail.com> writes:
> > Thank you. I may have been unclear but the result seems to be the
> > opposite of what I was hoping for.
> >
> > I was hoping to be able to gain the ability to use the org-todo face
> > with blocked tasks, while retaining the org-priority face which was
> > previously working..
> >
> > Now blocked tasks are entirely rendered with
> > org-agenda-dimmed-todo-face, including the priority.
> What you observe is what I intended to do.
> What you want is an opposite of "dimming" (IMHO).
> To achieve what you want, you may consider customizing
> `org-agenda-dimmed-todo-face' face. This face is applied on top of all
> other faces. If you, say, set only a background, the todo keywords will
> retain their foreground colour.
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>

I understand your viewpoint,  Ihor. Actually, it was mainly the font
size of the TODO keyword that I wanted to retain, not the colour.

The org-agenda-dimmed-todo-face overlay overrides the size set in
org-todo face, which breaks my layout.

I would like to retain the org-todo face colour as well, but it is
mainly the face size that causes me issues.

I have been fiddling with the face and overlay rules, but my knowledge
is not up to the task. From what I can tell, overlays always overwrite

I was thinking that a version of org-font-lock-add-priority-faces
could perhaps be adapted to work with todo keywords.

  reply	other threads:[~2022-12-14 21:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12 19:02 org-agenda-dim-blocked-tasks don't use org-todo face Mark Kerr
2022-12-13  7:51 ` Ihor Radchenko
2022-12-14 21:11   ` Mark Kerr [this message]
2022-12-15  8:43     ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-12-12  6:14 Mark Kerr
2022-12-12  9:59 ` Ihor Radchenko
2022-12-17  9:54   ` Ihor Radchenko

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:

  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=CAM9qJ5J49zwXXG62h3TKkg1MSCtL7pKOPx4dgwnTqwCkokzqFQ@mail.gmail.com \
    --to=mkerr23@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \


* 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


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).