From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gOk/EPP2nmVcsgAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 20:58:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mAjqC/P2nmX1EwAAe85BDQ (envelope-from ) for ; Wed, 10 Jan 2024 20:58:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JJKRoFO+; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704916723; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c3GJiUnf7fg4743xNx+qsU4V75z1yGQQYJO7vE9rOWU=; b=f6ykd3l9f3fsD9afUtvCaaubrFA6z2dnf1aWEZSuUfpKpLWN/dL//ucsO6sFUDp+QrAX5r wvJpPD4/eQtKlMGiETl3gP+QOAZM529l+NOIYutgW7f98DuJJpwL3WEw0WKhsvNTJBKJrh G6G1WtEbtZJ3mJr88ThJTXvbKuA4xB3V9i1smAxlqb3PZVZEkjpktnGcK8+QcLN/Hz1tgT 3TDXjRqYSXy35wcd+lSkrXfjSfx9kpmiDBpe0EYw74PFCzvDb/NqeHXrFz340gCHx60pBI 4J42ViBJ5z2fQ+DMaaju5knXANNxCX8ZURTNZE5oi+lOTL/YG6BGerSJAI4k3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JJKRoFO+; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704916723; a=rsa-sha256; cv=none; b=Ty6lccCiLxXvoQ9ocn5fJUvJ7DeQaS6SlkFQt4E2LlmDKm6ll242Rus5KFm5e4VGk3KFZf By544B99p8DR525TxkJviy01N7Tal0S86Ti9M2hLXKZ6xhlj2OMMXAvyUEmEelctyFvGIb /SAIptXg628LmHQ7CimkXYLqlkMJRJmqaismcxa+ykWwiwcOaP0Vi04YcGlcgEornAN7ux uO7gAmJHXqqM+SbI0YMibpOV4/cHjniNrzhBEnznaurMIyIAkWr8WCtpTRCTQZLI6hYeZD eYuYEWUTvkBuAIa7SodQd50SmaIvv/NnJS3xgDIZcX+qlTCf/WJ5WkQ8ltN9JA== 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 1128A47390 for ; Wed, 10 Jan 2024 20:58:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNeiB-0000XB-Br; Wed, 10 Jan 2024 14:58:03 -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 1rNei9-0000Wp-Qv for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 14:58:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNei7-00047i-23 for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 14:58:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C2CDE240028 for ; Wed, 10 Jan 2024 20:57:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704916675; bh=eLxmHi0YTCng1tJr+4H5zmKD801CttOQ4S2Aw6ABC5g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=JJKRoFO+5g+j/VaTF/Ut+WIqwZli/i9EtcNvmEmw73xqJu0gyau3YlKjWEG9YgP4Y a1218RLzFKw0PDWz7BsSDid9tHoqwIqtJvYNvzeYh1aYV+wxsdRng9/wElv0rjVE30 Ynh6au4DZIezXkA21UkPcZvZjOMraxLWTxvnpf+7YzqwpiR5czv44Sa+z/MzThfcaB yyCgqBVr515U1uJGrvhKXRWm1xobnqN85FV7O7PTE2UehTWnEAYtzi0CaN86OOCeMF TAGC1EHf2to1egJUyjkXcKcK9n53Mtw85l1Y6wB/gISUUxR1QnlszWx2z/8mGylbiK s7UGWWfb8MLIg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9JW706xyz6txl; Wed, 10 Jan 2024 20:57:54 +0100 (CET) From: Ihor Radchenko To: Mark Kerr Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] "Invalid face reference" with org-agenda-deadline-faces In-Reply-To: References: <87cyu9kqye.fsf@localhost> <87a5pdkors.fsf@localhost> Date: Wed, 10 Jan 2024 20:01:03 +0000 Message-ID: <874jflklfk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: -7.77 X-Spam-Score: -7.77 X-Migadu-Queue-Id: 1128A47390 X-Migadu-Scanner: mx11.migadu.com X-TUID: XL1Tinf7635G [ Adding org-mode mailing list back to CC. Please use "Reply All" or "Wide reply" to keep the discussion public ] Mark Kerr writes: >> Faces that you reference from org-agenda-deadline-faces should exist and >> should be valid faces. However, it does not look like your >> `org-agenda-deadline-past' and `org-agenda-deadline-today' faces are >> defined correctly. You might have used malformed face declaration. >> >> May you show how you define these custom faces in your config? > > I included my configuration in my initial post. Here it is: > > (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))) This is not complete. I wanted to see how you define `org-agenda-deadline-today' and `org-agenda-deadline-past' faces. They are not standard faces provided by Org mode, so you need to define them yourself. > What is it about the `org-agenda-deadline-past' and > `org-agenda-deadline-today' faces that makes you think they are incorrectly > defined? "Invalid face reference" error means exactly this - the face it complains about is not a valid face. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at