From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Repeating timestamp with interval N times Date: Mon, 05 Oct 2015 00:16:55 +0200 Message-ID: <87r3lajn3c.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zirah-000153-2y for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 18:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zirad-0003Ma-Qa for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 18:17:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:54933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zirad-0003MO-Jn for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 18:17:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zirab-0001wz-E3 for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 00:17:05 +0200 Received: from 185.3.135.2 ([185.3.135.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Oct 2015 00:17:05 +0200 Received: from rasmus by 185.3.135.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Oct 2015 00:17:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Stephen, Stephen Eglen writes: > I'd like to write a timestamp like: > > ** Weekly office hour > <2015-10-08 Thu 11:00-12:00 +1w> > > but instead of having it occur every week until the end of time(!), I'd > like it repeated N (=8) here. I can't see how to do this easily, am I > missing something? I could use `org-clone-subtree-with-time-shift' but > ideally I'd like something concise like: org-clone-subtree-with-time-shift is what I would use, mainly because I want to have my calendar stay compatible with org-caldav.el. In the past I used org-class, which might be what you refer to below. Example: %%(org-class 2014 9 26 2014 12 15 3 'holidays) office hour 9:30-10:30 > <2015-10-08 Thu 11:00-12:00 8+1w> > > Is this likely to be feasible? I can submit a patch if it is and > someone points me in the right direction. Or, do I need to refer to > some sexp magic "DIARY-STYLE SEXP ENTRIES"? I can see how to fix it > by extending diary-cyclic to include the parameter specifying the max > number of repeats. My understanding is that you would like to extend Org’s "datey" syntax to allow provide an end in this statement, <2015-10-08 Thu 11:00-12:00 8+1w> What is the syntax you have got in mind? Thanks, Rasmus -- However beautiful the theory, you should occasionally look at the evidence