From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +fFqAJBpUGFRSgAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 14:37:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iFlLN49pUGGMWAAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 12:37:35 +0000 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 859602B2AD for ; Sun, 26 Sep 2021 14:37:35 +0200 (CEST) Received: from localhost ([::1]:42880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUTPS-0002XX-Oo for larch@yhetil.org; Sun, 26 Sep 2021 08:37:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUTLl-0000ak-AT for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 08:33:45 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:51525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUTLg-0002jt-NL; Sun, 26 Sep 2021 08:33:44 -0400 Received: (Authenticated sender: public@protesilaos.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 4D690240003; Sun, 26 Sep 2021 12:33:36 +0000 (UTC) From: Protesilaos Stavrou To: Bastien Subject: Re: [PATCH] Add faces to improve contextuality of agenda views In-Reply-To: <87lf3jbu83.fsf@gnu.org> References: <87lf7q7gpq.fsf@protesilaos.com> <87lf3jbu83.fsf@gnu.org> User-Agent: Notmuch/0.33.1 (https://notmuchmail.org) Emacs/28.0.50 (x86_64-pc-linux-gnu) Date: Sun, 26 Sep 2021 15:33:33 +0300 Message-ID: <87sfxra542.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=217.70.178.230; envelope-from=info@protesilaos.com; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Gustavo Barros Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632659855; 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; bh=kQKS/m7SKdk/bc2ZkcJI5fAVFKQDUJdr/YH1fh7PNb4=; b=UtMqjfn9c5CLBpa7LWCyoX4fIgypq0GgJMAqdGPP/EFYi5cF7Ti4eRyphFYHQWK0/3yk9Z NAn7Nd9Vmfbl/UPdspdwZrbgqu9/b8ScJRXfBQZQ2KkkgoLS+R/lbxNdhZbdJmg/N5IlDJ BRW8e+w6SJA2BzEmGDPosGlfqB0H1b2yOPPWDZ+2y1miL/ZeG/Xn/VrymPISW0zSqPUSUQ kk5l69RNDqZM8cmMlBiol17e99o5NotqruZBmOA5kq1FvohD+HD2HMk+rXIfNJ9jA6fw+s HH47Yq4rRUX2FaotuPXmMSN/ukWgxdo3zU+TAaKiKqgI+PtSrz0WoVFsm8b4oQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632659855; a=rsa-sha256; cv=none; b=E7YLyWwyiAQZY2FsbYefbhMY6AjmHRCqEKfS2Fqk2PoiNyR3PkWtPIFCbiuKs549a9j5UX DBX2s2GT82Za4bdEksyu0Dor0dKO6AmzsfNcszANWSivW9pacvi84E30Jhx9YoDcIJ5REY 5gqSIPiVJi4eZEnvVfz8uliwGRZdFBhDmReGI1+blQDTkXBUmekfWacqAzKqMMSNYW8jTl MiJBJRizh/UWkqvn1Wr/9HPNO3/ognyGg10aPE/xUDmigEzVO6574jdNqk/0Od0VbO+df3 TLH2mVi4I/Th42sXtBdf0dW5JInUskg3efX94UQCqQa7xk2NRHONx+bZmU++EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 859602B2AD X-Spam-Score: -1.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: zRegmjwSIii2 --=-=-= Content-Type: text/plain On 2021-09-26, 10:45 +0200, Bastien wrote: >> The attached patch defines and implements a few new faces for the >> agenda. > > Applied, thank you very much for the thorough explanations and the > well-written patch and commit message. > > This deserves an entry in etc/ORG-NEWS for Org 9.5: would you be > willing to submit a patch for this? Hello again Bastien! Please find attached the entry for the ORG-NEWS. All the best, Protesilaos -- Protesilaos Stavrou https://protesilaos.com --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Document-new-agenda-faces-in-the-ORG-NEWS.patch >From ac96612c9e1313ef40fef042c4e79771776423bd Mon Sep 17 00:00:00 2001 Message-Id: From: Protesilaos Stavrou Date: Sun, 26 Sep 2021 15:27:31 +0300 Subject: [PATCH] Document new agenda faces in the ORG-NEWS --- etc/ORG-NEWS | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 80a8bc388..f3cebd836 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -168,6 +168,44 @@ When specifying a custom agenda bulk option, you can now also specify a function which collects the arguments to be used with each call to the custom function. +*** New faces to improve the contextuality of Org agenda views + +Four new faces improve certain styles and offer more flexibility for +some Org agenda views: ~org-agenda-date-weekend-today~, +~org-imminent-deadline~, ~org-agenda-structure-secondary~, +~org-agenda-structure-filter~. They inherit from existing faces in +order to remain backward-compatible. + +Quoting from [[https://list.orgmode.org/87lf7q7gpq.fsf@protesilaos.com/][this thread]]: + +#+begin_quote ++ The 'org-imminent-deadline' is useful to disambiguate generic + warnings from deadlines. For example, a warning could be rendered + in a yellow colored text and have a bold weight, whereas a deadline + might be red and styled with italics. + ++ The 'org-agenda-structure-filter' applies to all tag/term filters + in agenda views that search for keywords or patterns. It is + designed to inherit from 'org-agenda-structure' in addition to the + 'org-warning' face that was present before (and removes the + generic 'warning' face from one place). This offers the benefit + of consistency, as, say, an increase in font height or a change in + font family in 'org-agenda-structure' will propagate to the filter + as well. The whole header line thus looks part of a singular + design. + ++ The 'org-agenda-structure-secondary' complements the above for those + same views where a description follows the header. For instance, the + tags view provides information to "Press N r" to filter by a + numbered tag. Themes/users may prefer to disambiguate this line + from the header above it, such as by using a less intense color or by + reducing its height relative to the 'org-agenda-structure'. + ++ The 'org-agenda-date-weekend-today' provides the option to + differentiate the current date on a weekend from the current date on + weekdays. +#+end_quote + *** New option ~org-clock-ask-before-exiting~ By default, a function is now added to ~kill-emacs-query-functions~ -- 2.33.0 --=-=-=--