From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cEy9IYjl6WNlwAAAbAwnHQ (envelope-from ) for ; Mon, 13 Feb 2023 08:23:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHbDIYjl6WN8qAAA9RJhRA (envelope-from ) for ; Mon, 13 Feb 2023 08:23:52 +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 537CF30497 for ; Mon, 13 Feb 2023 08:23:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRTAn-0001EB-Qk; Mon, 13 Feb 2023 02:22:49 -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 1pRTAl-0001Dg-0e for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 02:22:47 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRTAj-0005eK-0q for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 02:22:46 -0500 Received: by mail-lf1-x132.google.com with SMTP id o20so17632725lfk.5 for ; Sun, 12 Feb 2023 23:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=8zQBDjWRf+rSy5GeflBiD0h4cBYsew1ZfuDIsMZdJJk=; b=PAQetzHBa/haUWdGfeMSVtkfS0+IXcf1ihoNAuo3bqM8MmX/LNXc0QkKQF92SeTN5R sOCCl4hpv11DnYevtnNxtBq4atj51yXL3e6CXFOXiSfIxheKeF4IZRzHqs9l4cOfJ+Fk M3OupqZWhXXiK5qjsnuNH2t0J4OaXHnkdrKYiWplKWz/aO1CppekkrqrrSi07LX/RpLt hs/GjzufFtF+U7E+/h+cXLbMHE9D6BCZOH1dwebktxuNOsMo+4rBi6HDSlwGZYj03kN6 SdXmNyKuWLCh4BM4kr/YJBZHe0hj5o/E3NzgKzhJgkR90lm9nogH+T8sFBGZZMdEWJN/ c9XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8zQBDjWRf+rSy5GeflBiD0h4cBYsew1ZfuDIsMZdJJk=; b=eciN4V556c2+GwqwA6t5lrtkDUUnt6jtMIkuTpnmBkEYhHCa1zWWXI+dx8L77H1mpY ETymGFm2mXbnGetnPG6ghX2axGMdQxY+I9bY6iGznR/GHSl0g5DZ9iAJrBLV//kU+1jC l4TT8gDARIgDagr5sReACKJ7DYYfjiiY77Z5gD6bPiNA71PFsXWhrsDuVABRx9BsWdhZ bh5MQQiBeg/7asofk19W+8Su6h9JbVDVWeQ8gyD8cJ2ksWddXUzr9tMUyGiQbL5gtNjw QTlnyEJN8C+rmuzBM75/98eibtTUugop1TmITu8CPkaCIjEBEeJssxJkOS06wo6s8kei GS4A== X-Gm-Message-State: AO0yUKXjRFUdH961z/Sct6UY8eElLotZq+176FyKenQ/9rSloQfSc64f wDr04TgJd0f/4kysAuKFSm84hIhFCQI= X-Google-Smtp-Source: AK7set8LOdMrz/bUquUu9n52aSNyBznvQvB1XRE0slOtb07Hsky2FEfyqqZQkkuJ5hC2wpX9vOS2nA== X-Received: by 2002:a19:7510:0:b0:4d5:978e:8bcf with SMTP id y16-20020a197510000000b004d5978e8bcfmr4814290lfe.33.1676272962619; Sun, 12 Feb 2023 23:22:42 -0800 (PST) Received: from laptop ([62.118.84.220]) by smtp.gmail.com with ESMTPSA id t27-20020ac2549b000000b004d582cedca5sm795115lfk.2.2023.02.12.23.22.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 23:22:42 -0800 (PST) User-agent: mu4e 1.8.13; emacs 30.0.50 From: Ilya Chernyshov To: emacs-orgmode Subject: Timestamp and timestamp range definitions Date: Mon, 13 Feb 2023 14:21:35 +0700 Message-ID: <87zg9ido76.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=ichernyshovvv@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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." 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676273032; a=rsa-sha256; cv=none; b=OrxDMuzY4O9L3XojSl1RRKEU/mxW9Ff6+cbCq4+1sCOBYa29kLafW0bSuSDHMsQGGoziID vhQR8apnlaNzPXeTBVWyND8gDef0p8htJyPqKBuvcVVMv5zWzbuQhkJsX5eM6U//NQtPK0 3Z/o1QTy3eUWZ/KdlD7HDv11SJ6XalggPaUxPaNOE9tcKnIvDei2AcW7km2alKRfKbuWmV n4U07SAOkJJezj3Hjnr03/l+G3tFB2qlggMf3WK7doPd26xxXCye5oxe5CnqHVz7U2N735 PCl8Sp1qKbwcbLiOeBowYRZ3TyiYayZMT4ErYU9MF7XEKJ1lCGy/fdgdoxbdDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PAQetzHB; dmarc=pass (policy=none) header.from=gmail.com; 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=1676273032; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8zQBDjWRf+rSy5GeflBiD0h4cBYsew1ZfuDIsMZdJJk=; b=Y1UpeQkTVtFyzWX5Y8cW5SHBJzvZqwZIaBk2ESIysgy0K2RtUphs4RDjZiLPpv9NLoopWg ZqY0cevij/0ldTKJHyGLHSYfMGZ7IiFPmUQLrtwstNxIsIVjhzAayujmYk9TkIPW//V8KN aGFXoUJBFnGJNy8+gVgsByHa1uYZnreH/26pgUi/MmKw4UYZYAvqYPbncENXEfo/3VQdUX ar5K1ZtYfm9uwEDsxApUFWYUV6CM9kUQ5V0V61n8/e9UqevnrKyCWTRxsQnWXz5/Opi50p JRTjGqQTpm8wOozT1GLPWhPVNSytHbPOE4GcXwkDhjmd9Tymxu+Qf8EZ1yKQyg== X-Migadu-Spam-Score: -4.82 X-Spam-Score: -4.82 X-Migadu-Queue-Id: 537CF30497 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PAQetzHB; dmarc=pass (policy=none) header.from=gmail.com; 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-TUID: TELM7sfEjbth Hello What's a type of timestamp <2022-10-15 Sat 10:00-13:00>? >From org-manual: the definition for a timestamp is: A timestamp is a specification of a date (possibly with a time or=20 a range of times) in a special format, either '<2003-09-16 Tue>' or '<2003-09-16 Tue=20 09:39>' or =E2=80=98<2003-09-16 Tue 12:00-12:30>' Also, the definition for timestamp range is: Two timestamps connected by '--' denote a range. The headline is=20 shown on the first and last day of the range, and on any dates that are=20 displayed and fall in the range. Here is an example: ,* Meeting in Amsterdam <2004-08-23 Mon>--<2004-08-26 Thu> But, according to tests in test-org-element.el such a timestamp is considered a timerange [added in commit cb32494e2]: (should (eq 'active-range (org-test-with-temp-text "<2012-03-29 Thu 7:30-16:40>" (org-element-property :type (org-element-context))))) So, we either should change the behavior of (org-element-timestamp-parser) or update the definitions of=20 timestamp and timestamp range in org-manual. What do you think? --=20 Best, Ilya