emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Mark Kerr <mkerr23@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] "Invalid face reference" with org-agenda-deadline-faces
Date: Wed, 10 Jan 2024 18:01:45 +0000	[thread overview]
Message-ID: <87cyu9kqye.fsf@localhost> (raw)
In-Reply-To: <CAM9qJ5+PLi8M0yeDTr0-uRb_kwGmjr--1yuYf0+72RNk1Umb+w@mail.gmail.com>

Mark Kerr <mkerr23@gmail.com> writes:

> I have the below set in my init file:
> ---
> (setq org-agenda-deadline-faces
>   '((1.01 . org-agenda-deadline-past)
>      (1.0 . org-agenda-deadline-today)
>      (0.9 . org-agenda-deadline-tomorrow)
>      (0.7 . org-agenda-deadline-soon)
>      (0.0 . org-agenda-deadline-upcoming)))
> ---
>
> But the faces are not created and the below lines keep appearing in
> *Messages*:
> ---
> Invalid face reference: org-agenda-deadline-today [6 times]
> Invalid face reference: org-agenda-deadline-past [19 times]
> ---

These two faces have nothing to do with Org mode. Org mode simply does
not define such faces and never did (I cannot find these face names in
git history). In fact, Org mode does not define any of the faces in you
custom value.

> This `org-agenda-deadline-faces` settings has been working without any
> problems for years. I think the problem began with org v6.6.16, but am not
> completely certain.
>
> Is this a bug?

I am not sure what you mean by "working" - incorrect faces could have
been ignored by older Emacs. Newer Emacs indicate the problem with
invalid faces.

Canceled.

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


  reply	other threads:[~2024-01-10 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-10 16:44 [BUG] "Invalid face reference" with org-agenda-deadline-faces Mark Kerr
2024-01-10 18:01 ` Ihor Radchenko [this message]
     [not found]   ` <CAM9qJ5+D9a8-KHorWLScRjqH9eOsvRjM+RrVMKqqi4q31EuBFQ@mail.gmail.com>
2024-01-10 18:48     ` Ihor Radchenko
     [not found]       ` <CAM9qJ5JipoBHbANGAOz2+c_4yRaAZ2keUJn2DnGOWSOW-90hVg@mail.gmail.com>
2024-01-10 20:01         ` 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:
  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=87cyu9kqye.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=mkerr23@gmail.com \
    /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).