emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Repeating timestamp with interval N times
Date: Sun, 04 Oct 2015 21:54:02 +0100	[thread overview]
Message-ID: <m21tda9wyd.fsf@damtp.cam.ac.uk> (raw)

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

             reply	other threads:[~2015-10-04 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-04 20:54 Stephen Eglen [this message]
2015-10-04 22:16 ` Repeating timestamp with interval N times Rasmus
2015-10-05  8:17   ` Stephen Eglen
2015-10-05  9:20     ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21tda9wyd.fsf@damtp.cam.ac.uk \
    --to=s.j.eglen@damtp.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).