* n-times event
@ 2010-02-18 12:13 Łukasz Stelmach
2010-09-28 14:56 ` Łukasz Stelmach
0 siblings, 1 reply; 2+ messages in thread
From: Łukasz Stelmach @ 2010-02-18 12:13 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-28 14:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 12:13 n-times event Łukasz Stelmach
2010-09-28 14:56 ` Łukasz Stelmach
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).