From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#68653: Excorporate: generate better org timestamps Date: Mon, 19 Feb 2024 09:07:54 -0500 Message-ID: References: <87o7ccg0g5.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37299"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Benjamin Leis , 68653-done@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 19 15:09:11 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rc4KT-0009SY-U3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Feb 2024 15:09:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc4K4-0005Py-AR; Mon, 19 Feb 2024 09:08:44 -0500 Original-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 1rc4K3-0005PN-25 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 09:08:43 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rc4K2-0007CD-Pw for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 09:08:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rc4KM-0000nT-O3 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 09:09:02 -0500 Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2024 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 68653 X-GNU-PR-Package: emacs Mail-Followup-To: 68653@debbugs.gnu.org, fitzsim@fitzsim.org, benleis1@gmail.com Original-Received: via spool by 68653-done@debbugs.gnu.org id=D68653.17083517093020 (code D ref 68653); Mon, 19 Feb 2024 14:09:02 +0000 Original-Received: (at 68653-done) by debbugs.gnu.org; 19 Feb 2024 14:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:40742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc4Jp-0000me-90 for submit@debbugs.gnu.org; Mon, 19 Feb 2024 09:08:29 -0500 Original-Received: from mail.fitzsim.org ([69.165.165.189]:43656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc4Jj-0000mN-VC for 68653-done@debbugs.gnu.org; Mon, 19 Feb 2024 09:08:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9y/5ArUtMiEpSRLCH+rbTQKVDq24DigP+MdzPKtdKTA=; b=JcNeESI2h+c7k0z8LFMhWgw4vp 8z6fEeyf13JnEqNuiiyv6VPmc+VuyocU2MgcQ1gOq8mExHcoOfubR/sMEBzU5mbCm0aAu2ZN3mmps 537muMELRlOx0kF5JOWXQvNA2mfKcynRKraRiuKBWdjhGHyDXavBQNp/1Xq5rEr+djW+xjqxCmIXW oQkja3UmFVnwt5zVyY90g1Lihn/IzSc/M4M4AuAMlSi+KxvvrU31jK67WSyCOOWLAbpGt2x+Y0B7i Zf2rUHp0/cQjgzma5udUBd5WnR7LXcjZf6usEmQKb3Lz9QZNOcaDe0jJTYmDhuFzgHZZT7Pi2nTEn px+WXZJA==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rc4JI-001PAs-2X; Mon, 19 Feb 2024 09:07:55 -0500 In-Reply-To: <87o7ccg0g5.fsf@localhost> (Ihor Radchenko's message of "Mon, 19 Feb 2024 11:25:46 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280264 Archived-At: Hi Ihor, Ihor Radchenko writes: > Thomas Fitzsimmons writes: > >> Thank you for the patch. From my testing, when org-schedule is passed a >> start and end date separated by "--", it only includes the start date in >> the range. > > Note that Org mode schedule does not support date ranges. > It is recommended to use bare active timestamps for scheduling. > See "Important" note in https://orgmode.org/manual/Deadlines-and-Scheduling.html > >> Unless I am missing something, an Org date range cannot express an end >> timestamp on a different day. > > Org date range does allow multi-day ranges. > See https://orgmode.org/manual/Timestamps.html#index-timerange OK, I was focusing on: (org-schedule nil "<2024-08-23 Fri>--<2024-08-26 Mon>") SCHEDULED: <2024-08-23 Fri> "Scheduled to <2024-08-23 Fri>" Thank you for clarifying this. I think it is worth preserving the multi-day behaviour in Excorporate, but Benjamin's patch is a nice addition for same-day ranges. I pushed the amended patch, and I am closing this bug report. The change will go out with Excorporate 1.1.2 sometime today. Thank you, Thomas