all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* diary settings for recurring events
@ 2007-10-07  2:49 knubee
  2007-10-07 11:18 ` Daniel Jensen
  0 siblings, 1 reply; 3+ messages in thread
From: knubee @ 2007-10-07  2:49 UTC (permalink / raw)
  To: help-gnu-emacs

Sometimes we want a recurring event to have a limited time-span. For
example, to have a weekly event start on a particular date and end on
a particular date. Is there a simple way to do this in emacs diary?

I have been trying to find something like this:

   Monday 14:00-16:00 8 Oct 2007 +5 blah blah blah

Which would specify a recurring event on mondays, starting 8 Oct 2007,
and recurring for 5 weeks.

Alternatively, the more verbose:

  Monday 14:00-16:00 8 Oct 2007 - 5 Nov 2007 blah blah blah

thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: diary settings for recurring events
  2007-10-07  2:49 diary settings for recurring events knubee
@ 2007-10-07 11:18 ` Daniel Jensen
  2007-10-07 14:11   ` knubee
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jensen @ 2007-10-07 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

knubee <knubee@gmail.com> writes:

> Sometimes we want a recurring event to have a limited time-span. For
> example, to have a weekly event start on a particular date and end on
> a particular date. Is there a simple way to do this in emacs diary?

Here's how to do it with a sexp diary entry:

%%(and (= (calendar-day-of-week date) 1)
       (diary-block 10 8 2007 11 5 2007)) 14:00-16:00 blah blah blah

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: diary settings for recurring events
  2007-10-07 11:18 ` Daniel Jensen
@ 2007-10-07 14:11   ` knubee
  0 siblings, 0 replies; 3+ messages in thread
From: knubee @ 2007-10-07 14:11 UTC (permalink / raw)
  To: help-gnu-emacs

> Here's how to do it with a sexp diary entry:

Ah, great. thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-07 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-07  2:49 diary settings for recurring events knubee
2007-10-07 11:18 ` Daniel Jensen
2007-10-07 14:11   ` knubee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.