unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tyler Smith <tyler.smith@eku.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Org-mode repeated times with ranges
Date: Mon, 21 Dec 2009 10:19:56 -0500	[thread overview]
Message-ID: <87hbrktkv7.fsf@eku238261.eku.edu> (raw)
In-Reply-To: 5e3a506e0912210536v46f4e539l90e5e3b114faf107@mail.gmail.com

Nathaniel Flath <flat0103@gmail.com> writes:

> Is there a way to create an org-mode event that repeats weekly until a certain
> date, and then stops?

One way to do it is to create the first event, then call
org-clone-subtree-with-timeshift, which is bound to C-c C-x c. This will
prompt you for the number of repeats, and the time shift. 

For example, I have three labs and two lectures, repeating weekly for 16
weeks. So I created five entries as fourth level headings, with the date
and time of for the first week scheduled. Then I moved up to the
preceding third level heading, C-c C-x c, entered 16 for repetitions,
and +1w for time shift, and I had 16 weeks of labs and lectures
scheduled.

ie., I started with this:

** My Course Spring 2010
*** Week One
**** Lecture    
     SCHEDULED: <2010-01-12 Tue 9:30-10:45>
**** Lecture    
     SCHEDULED: <2010-01-14 Thu 9:30-10:45>
**** Lab
     SCHEDULED: <2010-01-12 Tue 12:30-15:15>
**** Lab
     SCHEDULED: <2010-01-14 Thu 12:30-15:15>
**** Lab
     SCHEDULED: <2010-01-13 Wed 8:00-10:45>

Then moved point to "Week One" and called C-c C-x c.


HTH,

Tyler





  reply	other threads:[~2009-12-21 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 13:36 Org-mode repeated times with ranges Nathaniel Flath
2009-12-21 15:19 ` Tyler Smith [this message]
2009-12-22 11:51 ` Matt Lundin

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87hbrktkv7.fsf@eku238261.eku.edu \
    --to=tyler.smith@eku.edu \
    --cc=help-gnu-emacs@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.
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).