On Sun, 24 Oct 2010 17:11:34 +0200, Rainer Thiel <r.th...@uni-jena.de> wrote: > > Many thanks, Eric, > > 2010/10/21 Eric S Fraga <ucec...@ucl.ac.uk>: > > Matt Lundin has just posted a respond (in another thread) which answers > > your question: > > > > On Wed, 20 Oct 2010 21:31:04 -0400, Matt Lundin <m...@imapmail.org> wrote: > >> > >> Christopher Witte <ch...@witte.net.au> writes: > >> > >> > Is there a way to get timestamps that repeat (say weekly) up to a > >> > certain date when it stops repeating? I have a weekly appointment that > >> > will only go for the next 8 weeks and I don't want to have to input > >> > each appointment separately and I don't want it cluttering up my diary > >> > beyond it's end date. > >> > >> Though you can't yet do this with org-mode timestamps, you can use a > >> diary sexp. Does the following FAQ help? > >> > >> http://orgmode.org/worg/org-faq.php#org-diary-class > > This would be exactly what I need -- if it really worked. It does not > for me, probably because I haven't really understood how it is > supposed to work. I should have expected that an entry like this: > > * TODO Class 10:00am-12:00am > <%%(org-diary-class 10 18 2010 2 12 2011 3)> > > in one of my agenda files would make show up an agenda entry every > Wednesday between Oct 18th, 2010 and Feb 12, 2011 in my agenda. But > this is not the case, nothing shows up. What am I doing wrong?
What is wrong (if you can call it that) is that the actual argument list to the org-diary-class function depends on the settings of a couple of variables: calendar-date-style and/or european-calendar-style. As I have the former set to 'iso, in my case I need to specify dates in the Y M D order: --8<---------------cut here---------------start------------->8--- * TODO Class 10:00am-12:00am <%%(org-diary-class 2010 10 18 2011 2 12 3)> --8<---------------cut here---------------end--------------->8--- You may need to do the same. I've cc-ed the org-mode list for others to be aware of this as well.
-- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode