emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] timestamp with repeater interval


From: Eric S Fraga
Subject: Re: [Orgmode] timestamp with repeater interval
Date: Sun, 24 Oct 2010 18:51:18 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Sun, 24 Oct 2010 17:11:34 +0200, Rainer Thiel <address@hidden> wrote:
> 
> Many thanks, Eric,
> 
> 2010/10/21 Eric S Fraga <address@hidden>:
> > 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 <address@hidden> wrote:
> >>
> >> Christopher Witte <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]