* Re: cyclic diary entry
[not found] <mailman.1031082604.22478.help-gnu-emacs@gnu.org>
@ 2002-09-03 20:25 ` Alan Shutko
0 siblings, 0 replies; 2+ messages in thread
From: Alan Shutko @ 2002-09-03 20:25 UTC (permalink / raw)
Raimund.Kohl@freenet.de writes:
> how can I make a cyclic diary entry like "every first sunday of month"?
Check out Special Diary Entries in the Emacs Manual:
Another sophisticated kind of sexp entry, a "floating" diary entry,
specifies a regularly occurring event by offsets specified in days,
weeks, and months. It is comparable to a crontab entry interpreted by
the `cron' utility. Here is a nonmarking, floating diary entry that
applies to the last Thursday in November:
&%%(diary-float 11 4 -1) American Thanksgiving
The 11 specifies November (the eleventh month), the 4 specifies Thursday
(the fourth day of the week, where Sunday is numbered zero), and the -1
specifies "last" (1 would mean "first," 2 would mean "second," -2 would
mean "second-to-last," and so on). The month can be a single month or
a list of months. Thus you could change the 11 above to `'(1 2 3)' and
have the entry apply to the last Thursday of January, February, and
March. If the month is `t', the entry applies to all months of the
year.
--
Alan Shutko <ats@acm.org> - In a variety of flavors!
You just can't beat cubic inches.
^ permalink raw reply [flat|nested] 2+ messages in thread
* cyclic diary entry
@ 2002-09-03 19:45 Raimund.Kohl
0 siblings, 0 replies; 2+ messages in thread
From: Raimund.Kohl @ 2002-09-03 19:45 UTC (permalink / raw)
Hello,
how can I make a cyclic diary entry like "every first sunday of month"?
thxs, ray
--
Raimund Kohl Consulting
Kommunikative Praktizierungskonzepte für Heilpraktiker
Schlesierstr. 19 * 67112 Mutterstadt
T: 06234-929329 * F: 06234-929267 * e: HP-Consult@web.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-03 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1031082604.22478.help-gnu-emacs@gnu.org>
2002-09-03 20:25 ` cyclic diary entry Alan Shutko
2002-09-03 19:45 Raimund.Kohl
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).