From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id h1tDDGsTyGOxrQAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 16:42:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4IItC2sTyGMRlwAA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 16:42:35 +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 C9EBC2E13A for ; Wed, 18 Jan 2023 16:42:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIAZJ-0007zG-FF; Wed, 18 Jan 2023 10:41:41 -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 1pIAZE-0007yz-MR for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 10:41:37 -0500 Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIAZC-0006Ki-Jq for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 10:41:36 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.146.163]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id DD3C920DCC for ; Wed, 18 Jan 2023 15:41:28 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-vbzg9 (unknown [10.109.146.117]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 612071FF6A; Wed, 18 Jan 2023 15:41:27 +0000 (UTC) Received: from RCM-web8.webmail.mail.ovh.net ([151.80.29.22]) by ghost-submission-6684bf9d7b-vbzg9 with ESMTPSA id HvOgFicTyGORDQEAgw5Rfg (envelope-from ); Wed, 18 Jan 2023 15:41:27 +0000 MIME-Version: 1.0 Date: Wed, 18 Jan 2023 16:41: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: <87v8l46tos.fsf@localhost> References: <873597xtqr.fsf@gautierponsinet.xyz> <87y1q1h0gm.fsf@localhost> <63f0246aa85d34eb4fc787d4fad4c3e3@gautierponsinet.xyz> <87v8l46tos.fsf@localhost> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: gautier@gautierponsinet.xyz X-Originating-IP: 147.210.21.1 X-Webmail-UserID: gautier@gautierponsinet.xyz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 1380353288105355163 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 35 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedruddtkedgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomhepghgruhhtihgvrhesghgruhhtihgvrhhpohhnshhinhgvthdrgiihiienucggtffrrghtthgvrhhnpeffkeelhfeiudekieejgeehheetjeegieejudekteehgedvleetffethfetleefvdenucfkphepuddvjedrtddrtddruddpudegjedrvddutddrvddurddupdduhedurdektddrvdelrddvvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehgrghuthhivghrsehgrghuthhivghrphhonhhsihhnvghtrdighiiiqedpnhgspghrtghpthhtohepuddprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=188.165.52.147; envelope-from=gautier@gautierponsinet.xyz; helo=8.mo560.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.499, 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=1674056554; a=rsa-sha256; cv=none; b=AUbm70eGgucK/BwaJNwOOJrGETIBnGp4RTJvvDFC9agm9IZB/0ilIcwapJ8FGaPPbS3qOS EsyGmfNZPgn8IGI/MiWVefAVDq9V0uuyJnsXPjey9cWBNv8lNb0h/bimL8K3BKIKgliT24 Q9BoRwzA5VdwekhwyhpNmqrhAnXjevDnpAOAioQFz59ZxiMerslN1v/KD5bbEHtMPCHz+5 AxZErPUYv+FJagrzI+5C/+LxPTHDeBWCv+rCdukQotKReffZBN0sA0gORErAHnW6ovyXDR Z7K9g2sJlzo0Y6uAHy7ckTnz8vYXLbcBZUDZt4+34cwLtolsOFqjIOQcSg8sYA== 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=1674056554; 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=ftOziNOfdrc9gcrq1Lbi/bMWs+Dh6DT9QS3BzAAsO6U=; b=PwHwfZLXEzP/+WG7175NSJxNLlQs3df2+/AlINs7YgZhhC6eliGoJCyRGpyrUzchU+O+g3 FCRuojpDFU35QT5TKVTFFh/iulb2SPNJflUOOtiERNpjRoumS/DOWhaVf/W1LcNpULUyHM IeQGW9oPfDp3iBuIPI8r9jg5lUzB0SUin6HwbbJvBpOO4eL5d1qAv+AdBBrm6tABNj6t5W JNv/C3Nqa2zSlNRIggy/j8+8JRsgun4H9v1j4ddoL8Hl2HGgI8LAm2NGks1jZAsdmh+MnK MpyzwmjDwID1D9gAtYUZbqeYMpl7IROoCa0h9bGDZRpvH9YRDIERbyDL8wIAOw== X-Spam-Score: -1.93 X-Migadu-Queue-Id: C9EBC2E13A 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: -1.93 X-TUID: ozJyBiSvhqA+ Ihor Radchenko writes: > <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00> > and > <2023-01-01 Sun 10:00-15:00> > > are equivalent. > > I'd say that it will make sense to apply `org-agenda-calendar-event' > face and `org-agenda-timerange-leaders' to <2023-01-01 Sun 10:00-15:00> > as well. What do you think about this approach? So, the current situation is the following: | Type of entry | Face | Use `org-agenda-timerange-leaders' | |----------------------------------------------------------------------------+---------------------------+------------------------------------| | simple date: <2023-01-01 Sun> | org-agenda-calendar-event | no | | simple date with hour range: <2023-01-01 Sun 10:00-15:00> | org-agenda-calendar-event | no | | timerange (same day): <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00> | default | yes | | timerange (different days): <2023-01-01 Sun 10:00>--<2023-01-18 Wed 15:00> | default | yes | and you say it would be better like this: | Type of entry | Face | Use `org-agenda-timerange-leaders' | |----------------------------------------------------------------------------+-------------------------------------------+------------------------------------| | simple date: <2023-01-01 Sun> | org-agenda-calendar-event | no | | simple date with hour range: <2023-01-01 Sun 10:00-15:00> | org-agenda-calendar-event | yes | | timerange (same day): <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00> | org-agenda-calendar-event | yes | | timerange (different days): <2023-01-01 Sun 10:00>--<2023-01-18 Wed 15:00> | new face (org-agenda-calendar-daterange?) | yes | Is that correct? This would be nice. However, this requires more complexes changes. I don't know if I am capable of preparing such a patch, but I can give it a try. By the way, the entries "simple date with hour range" and "timerange (on the same day)" are also presented differently in the agenda view, the first ones look like: agenda: 10:00-15:00 Test simple date with hour range while the second ones look like: agenda: 10:00 ┄┄┄┄┄ Test timerange (on the same day) Should this change as well?