Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating a cyclical entry with a set number of repeats

0 views
Skip to first unread message

Dennis Kibbe

unread,
Nov 22, 2009, 11:39:07 AM11/22/09
to help-gn...@gnu.org
Hallo Group,

I teach a class on Tuesday and Thursday evenings that lasts for eight
weeks. A cyclical entry in the diary seems the obvious way to list this
event but consulting the Emacs Manual and the Lisp Reference Manual
doesn't show a way of creating a cyclical entry that doesn't repeat
forever.

Any ideas on how to do this or is there a better way?

dennisk

--
"Free as in Freedom"
Free Software Foundation


Edward M. Reingold

unread,
Nov 22, 2009, 5:42:24 PM11/22/09
to
>>>>> "DK" == Dennis Kibbe <den...@sahuaro.us> writes:

DK> Hallo Group, I teach a class on Tuesday and Thursday evenings that
DK> lasts for eight weeks. A cyclical entry in the diary seems the obvious
DK> way to list this event but consulting the Emacs Manual and the Lisp
DK> Reference Manual doesn't show a way of creating a cyclical entry that
DK> doesn't repeat forever.

DK> Any ideas on how to do this or is there a better way?

You need a diary sexp:

&%%(and (memq (calendar-day-of-week date) '(2 4))
(diary-block 11 1 2009 12 31 2009)) Teach class


--

Professor Edward M. Reingold Email: rein...@iit.edu
Department of Computer Science Voice: (312) 567-3309
Illinois Institute of Technology Fax: (312) 567-5067
Stuart Building, 228F
10 West 31st Street
Chicago, IL 60616-3729 U.S.A.

0 new messages