From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 OFkEM3cDxGMnDQEAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 14:45:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OJ66MncDxGPkZwEAauVa8A (envelope-from ) for ; Sun, 15 Jan 2023 14:45:27 +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 92739F6D0 for ; Sun, 15 Jan 2023 14:45:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pH3Jj-00029h-Q2; Sun, 15 Jan 2023 08:44:59 -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 1pH3Ji-00029C-E4 for emacs-orgmode@gnu.org; Sun, 15 Jan 2023 08:44:58 -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 ) id 1pH3Jf-0002sG-Mt for emacs-orgmode@gnu.org; Sun, 15 Jan 2023 08:44:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 486BF240175 for ; Sun, 15 Jan 2023 14:44:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673790293; bh=Bl6tevhwk475inTJGLXvjroaNFrt8xQCgUpFP1i4M98=; h=From:To:Cc:Subject:Date:From; b=Ht1vEFYYUNduGdyq+XLI4e7n2cZokIlTC/XXs/517iX0yPy75EXch/F5xVTmKzWmW +groF10Dj0J8hVQRu370r6Mj9O49rDBiyAPgK2+v8REkmpIzmQ0/FsOz0A5JC4Jjp7 pr1WxmxPJGV+Fo10S9EXbxHTXKgcvhPwmHGIdrfH5rLYQ5bCKFMzK5CbTWO+Zyk1lu M7/gHR7YDAP8j2DHGFh5LmKZdGSkJhy5at2zaXAieC2e5FrYYzSPfYiRQ5i1+13JuS mMdWojtIrfvCpHriepwrr8GP3ik6Smf1oSvhFCSg0s0MywO+iKTEquLK5mXoG5yFuu cCPb2X+/aK89g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NvxGr2mxSz6tmK; Sun, 15 Jan 2023 14:44:52 +0100 (CET) From: Ihor Radchenko To: Samuel Wales Cc: Russell Adams , emacs-orgmode@gnu.org Subject: Re: [FR] Allow end date and max repeat count for timestamps with repeaters (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda) In-Reply-To: References: <63c287ca.a70a0220.4bd14.873b@mx.google.com> <87mt6l1h97.fsf@localhost> <877cxp1fbx.fsf@localhost> Date: Sun, 15 Jan 2023 13:45:23 +0000 Message-ID: <87r0vvewss.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." 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=1673790327; a=rsa-sha256; cv=none; b=l2P4RaxKhzuaIen4ZZeMUJhmGng+zdlamB5CLsxUoBTJOMptpajV7SxC7JHwE0lSS/Qrtu thEAhaK7gcBX9eN3oqk+j8BRC8eidMy/Tn4MoExtlJVpmjYdnmVzzaoh25Fr+D0mS3c4SY Ybp0r3R+d3ISCw2j5hUiEaP5JrT7WeuFF1EpuCOwF8RrwkTsD6pB4pPN8S1++cwVN4Pby7 u2/9ma8tK57qtXB37E19H5y7SX9SVzJtGv+AlVXYNip90MonNAd0SFscVJQRpWgs5TFMMI i5CDHML+E15SKqlrxQxMrvhWWhsHmOzzKGqv6xktr6BtN/RovH92wADyrJh13A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ht1vEFYY; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673790327; 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=2fjL6rjWf4yVILHUFD8MY/C7b7IXoDc7oiF4/4Z2e7A=; b=PeGGW040u8SwpHKVsbmUZVQ/dOR8EOjMaOIIKuRetA13fWKpe3UiBh7wG/yS8IWSkbpk4o S+meikCe0c4NcufSAOjt1mefnhF/ACd9cY49wZxdclTO/yHUFK2d3k3JoUT1br+2002802 rKi1aHjlqleCqawhhZP2Q8vU0zRFjSKKXRvfJLbVtLbQJ6ExFWgxG/eNT533YmIzL92VGz SPSgSnsAmclpj3yvvNOYNK/nrXOL0J1E+1pRnAVDPviXg55eD0JpVGVs73r7OtzuczvzVL 5BtntPpFPlS4d6P32A85lJj4IXUb+y64aQzoHqa7CiZMHtTONr4XplRGq6js3g== X-Migadu-Spam-Score: -4.56 X-Spam-Score: -4.56 X-Migadu-Queue-Id: 92739F6D0 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ht1vEFYY; 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: QSRGDOZlWpWY Samuel Wales writes: > On 1/14/23, Ihor Radchenko wrote: >> However, I do not see why we cannot implement them within the current >> Org timestamp syntax: > > my concern would be personal code and 3rd-party packages, which might > have their own peculiar parsing. I proposed a single slight change in timestamp syntax: <2023-01-14 Sat +1w/5x> However, it is almost the same with what we have for habits: <2023-01-14 Sat +1w/2w> I do not see how things are going to break even if third-party packages use some home-grown parsers. > if otoh org provides really good api that can even do that, then i > suppose you could tell those devs to use that api. `org-get-repeat', `org-get-wdays', and `org-element-timestamp-parser'. > also my personal preference is for less new org syntax. which is one > reason why i like cl-style sexp kw for future features and > subfeatures. syntax can be hard to look up in the org manual, hard to > remember, etc. but that's mho. My proposal is as little new syntax as I was able to come up with. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at