* Org-mode repeated times with ranges
@ 2009-12-21 13:36 Nathaniel Flath
2009-12-21 15:19 ` Tyler Smith
2009-12-22 11:51 ` Matt Lundin
0 siblings, 2 replies; 3+ messages in thread
From: Nathaniel Flath @ 2009-12-21 13:36 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 133 bytes --]
Hello,
Is there a way to create an org-mode event that repeats weekly until a
certain date, and then stops?
Thanks,
Nathaniel Flath
[-- Attachment #2: Type: text/html, Size: 149 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Org-mode repeated times with ranges
2009-12-21 13:36 Org-mode repeated times with ranges Nathaniel Flath
@ 2009-12-21 15:19 ` Tyler Smith
2009-12-22 11:51 ` Matt Lundin
1 sibling, 0 replies; 3+ messages in thread
From: Tyler Smith @ 2009-12-21 15:19 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Org-mode repeated times with ranges
2009-12-21 13:36 Org-mode repeated times with ranges Nathaniel Flath
2009-12-21 15:19 ` Tyler Smith
@ 2009-12-22 11:51 ` Matt Lundin
1 sibling, 0 replies; 3+ messages in thread
From: Matt Lundin @ 2009-12-22 11:51 UTC (permalink / raw)
To: help-gnu-emacs
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?
You can use diary expressions in org-mode for more complex dates.
http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files
See also:
http://orgmode.org/manual/Timestamps.html#Timestamps (section on
"Diary-style sexp entries")
http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html#Sexp-Diary-Entries
- Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-22 11:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 13:36 Org-mode repeated times with ranges Nathaniel Flath
2009-12-21 15:19 ` Tyler Smith
2009-12-22 11:51 ` Matt Lundin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.