From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yNViO7Ugx2ObmQAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 23:27:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EEWTOrUgx2NUZwEAG6o9tA (envelope-from ) for ; Tue, 17 Jan 2023 23:27:01 +0100 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 A3C911C031 for ; Tue, 17 Jan 2023 23:27:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHuOn-00070p-DM; Tue, 17 Jan 2023 17:25:45 -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 1pHuOl-00070R-S6 for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 17:25:43 -0500 Received: from 1.mo582.mail-out.ovh.net ([46.105.56.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHuOj-0002PW-9S for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 17:25:43 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.156.60]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id B7DED25930 for ; Tue, 17 Jan 2023 22:25:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-p6s2s (unknown [10.111.172.149]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 86F6C1FED5; Tue, 17 Jan 2023 22:25:28 +0000 (UTC) Received: from RCM-web6.webmail.mail.ovh.net ([151.80.29.20]) by ghost-submission-6684bf9d7b-p6s2s with ESMTPSA id OY3vG1ggx2P5LwAAAtN1lQ (envelope-from ); Tue, 17 Jan 2023 22:25:28 +0000 MIME-Version: 1.0 Date: Tue, 17 Jan 2023 23:25:27 +0100 From: gautier@gautierponsinet.xyz To: Ihor Radchenko Cc: Bastien , emacs-orgmode@gnu.org Subject: Re: New face: org-agenda-calendar-timerange In-Reply-To: <87y1q1h0gm.fsf@localhost> References: <873597xtqr.fsf@gautierponsinet.xyz> <87y1q1h0gm.fsf@localhost> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <63f0246aa85d34eb4fc787d4fad4c3e3@gautierponsinet.xyz> X-Sender: gautier@gautierponsinet.xyz X-Originating-IP: 82.126.255.220 X-Webmail-UserID: gautier@gautierponsinet.xyz Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 2330894286026958747 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 35 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedruddtiedgudehlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecufghrlhcuvffnffculdefhedmnecujfgurhepggffhffvvefujghffgfkgihitgfgsehtjehjtddtredvnecuhfhrohhmpehgrghuthhivghrsehgrghuthhivghrphhonhhsihhnvghtrdighiiinecuggftrfgrthhtvghrnhepgeduhfehtdehheegheeujeeggfefvddtjeeftdetffdvtdeuvdetkeffuddthfetnecukfhppeduvdejrddtrddtrddupdekvddruddviedrvdehhedrvddvtddpudehuddrkedtrddvledrvddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeoghgruhhtihgvrhesghgruhhtihgvrhhpohhnshhinhgvthdrgiihiieqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.56.136; envelope-from=gautier@gautierponsinet.xyz; helo=1.mo582.mail-out.ovh.net X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673994421; a=rsa-sha256; cv=none; b=uc3W4pwVvjmqvZnV0sbe/Tn2lQPjl+/7sNv6HedcI6i3AlUZ8wsf8A3n5EDv5EUUL+Ue+X XKx+WLfy64Aj38P3d25+kkMHlEKGdTh86SgFfRFLZhy44K3YPVJSorSdLGOdyG+hlc/Uk7 vnHnon+AVu6u3+1SILMwIe///QeOPXfgRN6FIz+7auBE2hjsPVsoQV2MNbLWIbFJjFJlCi s+yts8VrE3ZoJFEv8lruR6/atgLETA10+kBirKlPmyBTVTYCWvyhjwYs8Qzw8gvGd8plZ5 bAQtgTIg876LSLTOgPXWER6hhXieq4Khkb7R8ggotCLrQWhxC1Crns0nv2piaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673994421; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=CkS2FTuwAuUA6iu4k49LA5TxEu4o0bXqz/EgZa6p5kU=; b=c4uXQcZ8wSUHOqaaqCkpD/SLi9i14AAsFVHzHgzVKdoq9BME4hJKtdlFg3SVdmk1Xj5nVw E93+XiCZ5PK0r7jL6OQhL00Q0kBXpOBK0eUTRo8KBk8w41Om7q2wtKaaXv/8n4hg2sHDKA NCTEvvmnq1rOKtOZc+UKPYPkBm2cJpnCX+iIKUgLQsv7Ft9/6Jp8zs+zldmXMotEB2Fg2z M9jeSw7L3Ir/N+XfwlT8BQt47FTqosUU+vGSfrSvVPo1eB582KM1ZEb6flsUc2Vmxhg422 TSrSEbj4DdUqK/bUKc0Y5HIkYVDDWIOyqMhf/N1LW4CDss66ZV7QsPOQExubvg== X-Spam-Score: -3.43 X-Migadu-Queue-Id: A3C911C031 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.43 X-TUID: ihm6jjr7rUzy Ihor Radchenko writes: > "timerange" is a bit confusing because the patch will only affect date > ranges like <2022-12-22 Thu>--<2023-01-01 Sun> and > <2022-12-22 Thu 12:00>--<2023-01-01 Sun 10:00>, but not time ranges > <2022-12-22 Thu 10:00-12:00> > > Is it what you are proposing? Or do you also want to include the time > ranges? Hello Ihor, Currently, the entries with a time range of the form <2022-12-22 Thu 10:00-12:00> use the face 'org-agenda-calendar-event'. While the entries with time ranges of the form <2022-12-22 Thu>--<2023-01-01 Sun>, or <2022-12-22 Thu 12:00>--<2023-01-01 Sun 10:00>, or even <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00> use the default face. The face in the patch would apply to the second type of entries. These second type of entries are precisely the ones to which applies the 'org-agenda-timerange-leaders', this is why I have chosen the name "org-agenda-calendar-timerange". Another name would be fine though, maybe "daterange" instead of "timerange"? (However, it would be less consistent with the 'org-agenda-timerange-leaders' name or the last example <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00>.) All the best, Gautier.