Hello.

I am wondering what sexp to write to display an event n times. Let's say
there is a course at a university which comprises 4 meetings. So I chose
diary-block (in fact a starting date would suffice) and some other
conditions like calendar-day-of-week and the number of repetitions, and
probably some holidays. For example

  (and
   (= 1 (calendar-day-of-week date)) ; on Mondays
   (not (diary-date 2010 4 26))      ; but not April 26th
   (not (wut-diary-holidays-2010s))  ; and not during holidays
   (diary-block 2010 2 22 2010 5 10) ; beetween 2010-02-22 and 2010-05-10
  )

With this one I had do calculate the diary-block boundaries. Instead I'd
like to have something like 

  (repeat-n-times-from 10 2010 2 22)

to obtain the same result (with the same constraints). There might be a
diary-block to describe the whole semester. Of course if I change the
weekday constraint to

  (or
    (= 1 (calendar-day-of-week date))
    (= 3 (calendar-day-of-week date)))

the meetings would stop earlier.

-- 
Miłego dnia,
Łukasz Stelmach



_______________________________________________
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

Reply via email to