From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Repeating timestamp with interval N times Date: Sun, 04 Oct 2015 21:54:02 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiqIJ-0003YX-TZ for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 16:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiqIG-0002ub-Lp for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 16:54:07 -0400 Received: from ppsw-51.csi.cam.ac.uk ([131.111.8.151]:51690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiqIG-0002uW-Fw for emacs-orgmode@gnu.org; Sun, 04 Oct 2015 16:54:04 -0400 Received: from cpc13-cmbg15-2-0-cust428.5-4.cable.virginm.net ([82.26.5.173]:54357 helo=localhost) by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587) with esmtpsa (PLAIN:sje30) (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1ZiqIE-0001Kv-Yj (Exim 4.86_36-e07b163) for emacs-orgmode@gnu.org (return-path ); Sun, 04 Oct 2015 21:54:02 +0100 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 Hi, 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: <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. Thanks, Stephen