From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.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 AKRNO7369WPdQQAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 22 Feb 2023 12:21:34 +0100
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id 2CkdO7369WOPBQAAauVa8A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 22 Feb 2023 12:21:33 +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 B1AF7280E9
	for <larch@yhetil.org>; Wed, 22 Feb 2023 12:21:33 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1pUnBP-0002Ly-UA; Wed, 22 Feb 2023 06:21:11 -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 <yantar92@posteo.net>)
 id 1pUnBJ-0002Kg-Sg
 for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 06:21:05 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1pUnBG-0004Bg-NB
 for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 06:21:05 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id BC540240733
 for <emacs-orgmode@gnu.org>; Wed, 22 Feb 2023 12:20:59 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1677064859; bh=gJtCBK0xWX8Emqy2p9wcM2Parh+s+MKUoDSfsl7STgI=;
 h=From:To:Cc:Subject:Date:From;
 b=aISri+cqoks+QHDQPtPmHe1SpqcgdAs07eBZN/aXmIsQ/Ud2kvbPN5hJ7wgpLjPSM
 JkbcInwj5bLKhy2Hy3VIpWxFtgNCdW0uiY2DkDccOHgkVr+eTazcAmzf+yxgScbc1W
 LBvyGqdCI1wGDYKq9JwPec2iaLPtMzTF0k5zVpzz0t/imv4Pl4GCAwVccdtgr2PVqI
 7rwSOg3jUplWGAnu6MDIsMLRAkd75UCUh4xbyrhDjCuOdLHXlyGpICH9UimMBoUgOc
 E9c1ncuJrQjbks1/dDRMVpTI/mocGl8wh/FJQ1cukceZ258L0MEVF7aWiR6cuu/pPQ
 T3CkUeLRtAFbA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4PMDHD33Dwz9rxM;
 Wed, 22 Feb 2023 12:20:56 +0100 (CET)
From: Ihor Radchenko <yantar92@posteo.net>
To: Ilya Chernyshov <ichernyshovvv@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-element-timestamp-interpreter: Return daterange
 anyway, if DATERANGE is non-nil
In-Reply-To: <9E22693E-7D20-470A-B57B-EA17BBE9160F@gmail.com>
References: <87y1ot6dqz.fsf@gmail.com> <87wn4cegt4.fsf@localhost>
 <9E22693E-7D20-470A-B57B-EA17BBE9160F@gmail.com>
Date: Wed, 22 Feb 2023 11:21:39 +0000
Message-ID: <87a616c5do.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net;
 helo=mout02.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_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1677064893;
	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=S17505dw+WHOIW35VyOFWcle+zV+reynsWvnwuhjVFE=;
	b=Wn4CL3HMNCz1vNvfEgVXjotHx1ovHprNApAdLnXD+AnmModeOlLAT+8VZk9el2lO7K3TL5
	L48ZxkUd64Hls1J/PHlgQehTC319qIFEfXyXQGloQgtmWWt4GHbJCsW9IMZftQ4xJDiOkw
	RH7hyYvv4oXtvqRUVd4ueomHmajgk2u2MmbzpqzR3xQmv7awWjz2zL930sz5LxZ6ouzwLj
	i2YDuLgCRuJj62N8mK+IsH8KIVdxPAveWantuWO99BBjG5YeR0gspRTu3SS8dYnm3Or9MD
	oSGsJrat3Pt8uA/NTZte7l6YJaL41p/1BMN3eWb86iiHXVUz8OgLYHx7REtYJw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=aISri+cq;
	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=1677064893; a=rsa-sha256; cv=none;
	b=bjjRa6G5AoxyBow2EaUUR0x4hYyT9sIY6GXao77ehRSDsGcV+vIbqc3982fMUrFmWRUcZw
	n++Ofi//JGdhGtGNrtKsdc5wAFAVKzKJ2ETnIibwoA+xwadj6PA5XWO0ZM1BrLUpyC41Tb
	t7W6xnCzNoqoFZcwcGDXkvJCiLMMPkJdMFsaORqSVCvNTlQbx0LpCJE9aoszWWC9cXvgft
	jKI/LfThClJXs+qnuVMKgttcaw4GIaHjS5sxf/WEb/6em4kvrXPGy9TbNQ1eZy8vtkl8qv
	6vVNQbnlUCptbHrtj49BpS5kHrCCRDy8GzneG1ImTPipxo64L3C9FYO7IKey1w==
X-Migadu-Scanner: scn1.migadu.com
X-Migadu-Spam-Score: -6.15
X-Spam-Score: -6.15
X-Migadu-Queue-Id: B1AF7280E9
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=aISri+cq;
	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
X-TUID: TMkbNWw275at

Ilya Chernyshov <ichernyshovvv@gmail.com> writes:

> You suggest to split timestamp types active/inactive-range to active/inactive-timerange, active/inactive-daterange?

I suggest introducing a new timestamp property :range-type. It can be
nil, timerange, or daterange.

Changing :type values will not be backwards-compatible.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>