From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Weekly Repeat Appointment scheduling for fixed date range Date: Thu, 31 Jul 2008 22:33:51 -0400 Message-ID: <87d4ktqx9s.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOkSp-0007pj-Dx for emacs-orgmode@gnu.org; Thu, 31 Jul 2008 22:33:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOkSo-0007oW-PP for emacs-orgmode@gnu.org; Thu, 31 Jul 2008 22:33:55 -0400 Received: from [199.232.76.173] (port=50561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOkSo-0007oK-LN for emacs-orgmode@gnu.org; Thu, 31 Jul 2008 22:33:54 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:54130) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KOkSo-00046c-Gs for emacs-orgmode@gnu.org; Thu, 31 Jul 2008 22:33:54 -0400 In-Reply-To: (RC's message of "Thu\, 31 Jul 2008 23\:30\:14 +0000 \(UTC\)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: RC Cc: emacs-orgmode@gnu.org RC writes: > RC yahoo.com> writes: > >> I would like to schedule an appointment that repeats weekly (actually to >> repeat Tuesday, Thursday, or Monday, Wednesday, Friday) with a fixed ending >> time and over a fixed range of dates. The following just repeated the >> appointment for every day in the date interval: >> <2008-08-26 Tue 10:00-11:00 +1w>-<2008-12-09 Tue 10:00-11:00 +1w> >> >> I wanted to check if one of you had a solution, before I tried writing >> an emacs diary sexp function. >> > To follow up on my earlier post. I modified the diary-schedule function at > http://www.emacswiki.org/cgi-bin/wiki/DiaryMode to select more than one > dayname (e.g. Tuesday and Thursday) and a time-period, over a block of dates. > I am trying to figure out how to include this function in an org file, similar > to what can be done with built-in diary functions, > e.g <%%(diary-block 8 25 2008 12 12 2008)>. > I would welcome any suggestions on how to do this. I don't think org-mode supports repeated entries with an end date (but I could be wrong there). For cases where I can just let it repeat forever I just make one weekly repeater entry for each day (i.e. Monday, Wednesday, Friday would be 3 tasks, which repeat weekly.) It's not very elegant but it works (for me). Maybe someone else on the list has a better idea... -Bernt