From: Mark Kerr <mkerr23@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] "Invalid face reference" with org-agenda-deadline-faces
Date: Wed, 10 Jan 2024 11:44:00 -0500 [thread overview]
Message-ID: <CAM9qJ5+PLi8M0yeDTr0-uRb_kwGmjr--1yuYf0+72RNk1Umb+w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
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]
---
`describe-face` says `[No match]` when run on any of these agenda deadline
faces. `describe-face` does work with the default faces though, i.e.
`org-imminent-deadline`.
However, running `describe-variable` on `org-agenda-deadline-faces`
indicates that the value is correct:
```
Value:
((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))
Original value was
((1.0 . org-imminent-deadline)
(0.5 . org-upcoming-deadline)
(0.0 . org-upcoming-distant-deadline))
```
Turning on `debug-on-error` does nothing when the messages are generated.
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?
Thanks, Mark
[-- Attachment #2: Type: text/html, Size: 1570 bytes --]
next reply other threads:[~2024-01-10 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 16:44 Mark Kerr [this message]
2024-01-10 18:01 ` [BUG] "Invalid face reference" with org-agenda-deadline-faces Ihor Radchenko
[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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM9qJ5+PLi8M0yeDTr0-uRb_kwGmjr--1yuYf0+72RNk1Umb+w@mail.gmail.com \
--to=mkerr23@gmail.com \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.