From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iBAsGKDJnmUKTwAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 17:45:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wOUqEaDJnmVr6AAA62LTzQ (envelope-from ) for ; Wed, 10 Jan 2024 17:45:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=f61grCvJ; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704905120; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FUVOpAi3M7a1wBorz7Qwdw1jjdP8kU2y2ckb1wF1WSo=; b=A1A0xOGHAe/4t8Qyj/lacM8h1pggNPot+M4I25Qv+9+PKc8dJMQLmna7W6uuHAPCUJ1lER wOCSKvgRW5MGYsu7gSmVsPM+V6zXZZrt6wtlSJAuqL3do8S2I+02vLXW/9kNIKIi9bhpDk xTO5Nd6IGdCDxL2JEqR3uALVMAsmpiLZXzIJq2TJ5ldLYsRkuS5jE1EzCKhMkEKA8YG1Bm NaA8m2Y4XgGfgMzlXjpE9bcRjM8VIS7WLOw0GMKE6X0q4MdJEYwW6ZghaL5SknycC4Teyz Wq8+5zAuJEhReFsS63JGosnvnSZPek/UUPZ62Hn7CC7jnygbNM9pjlbtdTx/JA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704905120; a=rsa-sha256; cv=none; b=koVA/OMcWMb7a+EJVDjKCToB52kpUCFUVVw/3uq9nurENx0bUF6oyqcGOO8gQ6+qvZWhxB BMzoILTzz61wF25v2z24IE5hdFIzmeTpd3SmvUI199tOVNZArEcI/WycIBWCxUtvQ6v4QN UdHocymYm8gJwqwCorESGpjmDHk1P5XGoq92ENLV5qw/MPr5H4B3ZGlpSYafc4RN3Bkj7I 15g9QYqgtH8gNz8fPIHTgEiEk1PJDHP/SmMQCZpro1P+Fu5Kh6Qr41avP3R+ffQ3Z7hFoD n5Vts09eWvFt3yVP7aPVaLfQSFcVREAgM9t2cICEI2eLh+YV5ZuRP7mKt1nnTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=f61grCvJ; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2358B1EB9A for ; Wed, 10 Jan 2024 17:45:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNbh8-0003wP-6R; Wed, 10 Jan 2024 11:44:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNbh5-0003wG-3I for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 11:44:43 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNbh0-000294-VL for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 11:44:42 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40e461c1f5cso39572715e9.3 for ; Wed, 10 Jan 2024 08:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704905076; x=1705509876; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FUVOpAi3M7a1wBorz7Qwdw1jjdP8kU2y2ckb1wF1WSo=; b=f61grCvJwBDOAvzsafRZsQiPrFyl+zMifKV7D1Rsn2XLsCiw9faImozKHlAjxH+uMJ cxJVoGHfAU/JEc+PNJ6b6R189WdvqFscWhgUXpG06RtariX19kS3MjFT1T9yf0VNWY4e jpIJsdYtUAw0wCwLt89BMxxzLSNMxJH1lukJ+1sUJKYQV1XZWBHkInkVasdiKGHfMY0K SVXnzdsLG7T276O1F4Fp7teuYNA1EnkK8AfhsnFwLAXY2NBO/Pu5uOp6NslXdPXV/nIg 5JcV081rVB6PvDGt8lzfeH/MsTn3HIZMUYnCQlBgk4TBphFjTEWcL76EXsMUNFkZbIzy lrYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704905076; x=1705509876; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FUVOpAi3M7a1wBorz7Qwdw1jjdP8kU2y2ckb1wF1WSo=; b=OKJQ06u0NlvqOeXcmk5u/9UzqlAsXHPtIh8EoWpNM1Ia2DI9g12e46GCSM1kK1ywos hWBlCmDAx5jbeJkJ+HcDWuyWBSpO9dQ9sdsEzcE8+gvCl0fsTlrN07jJ/QL4EG2iyjt/ 7Ifid4jbhB57fnlkyIbg1l6Zv7vH6fm8WPEueWQ54uPMaxHmLJAR5W6FxMWCRSkH2CMp wQgutLi0sld7Y5E549q6aM/0ShCzepEF1CRElaFLJdwq1PUspobaR5DCASZ6aaS67k04 66StNHN788yPz4t8+VUs5ntsoAgyWhiyuV1S3WMSA/vJJUyLFtjlCupLN7Bg1KPrkbxN 2jRw== X-Gm-Message-State: AOJu0YwbhR1V3eKDLNQinR89TuVNuHNdQ9oHZk19t43L5j/qftyN8U9Z h3W0GrhKi8aWa3KcFKg6Ur2b977Wjxqz2Q6Ja10QWivR2T8= X-Google-Smtp-Source: AGHT+IGxkEOxyfcForOg4aUcXPBNc2mDWM5KXPhhGNFXsJhlXq1JHN3oV8kUnuKoT1bwVbRLe5t4ogtGfyBaNpZhvHM= X-Received: by 2002:a05:600c:500f:b0:40d:92c9:da8c with SMTP id n15-20020a05600c500f00b0040d92c9da8cmr516648wmr.161.1704905075991; Wed, 10 Jan 2024 08:44:35 -0800 (PST) MIME-Version: 1.0 From: Mark Kerr Date: Wed, 10 Jan 2024 11:44:00 -0500 Message-ID: Subject: [BUG] "Invalid face reference" with org-agenda-deadline-faces To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000006e2a59060e9a25ca" Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=mkerr23@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.62 X-Spam-Score: -6.62 X-Migadu-Queue-Id: 2358B1EB9A X-Migadu-Scanner: mx12.migadu.com X-TUID: 16uMnhxY28cl --0000000000006e2a59060e9a25ca Content-Type: text/plain; charset="UTF-8" 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 --0000000000006e2a59060e9a25ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have the below set in my init file:
---
=
(setq org-agenda-deadline-faces
=C2=A0 '((1.01 . org-agenda-de= adline-past)
=C2=A0 =C2=A0 =C2=A0(1.0 . org-agenda-deadline-today)
= =C2=A0 =C2=A0 =C2=A0(0.9 . org-agenda-deadline-tomorrow)
=C2=A0 =C2=A0 = =C2=A0(0.7 . org-agenda-deadline-soon)
=C2=A0 =C2=A0 =C2=A0(0.0 . org-ag= enda-deadline-upcoming)))
---

But the faces are not created and t= he below lines keep appearing in *Messages*:
---
Invalid face referen= ce: org-agenda-deadline-today [6 times]
Invalid face reference: org-agen= da-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-pas= t)
=C2=A0 (1.0 . org-agenda-deadline-today)
=C2=A0 (0.9 . org-agenda-= deadline-tomorrow)
=C2=A0 (0.7 . org-agenda-deadline-soon)
=C2=A0 (0.= 0 . org-agenda-deadline-upcoming))
Original value was
((1.0 . org-im= minent-deadline)
=C2=A0 (0.5 . org-upcoming-deadline)
=C2=A0 (0.0 . o= rg-upcoming-distant-deadline))
```
Turning on `debug-on-error` does n= othing when the messages are generated.

This `org-agenda-deadline-fa= ces` 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
--0000000000006e2a59060e9a25ca--