From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: repetitive activity over a period of time, starting at the same time each day Date: Sat, 07 Nov 2009 13:37:28 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6qAN-0008Pr-8L for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 13:37:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6qAI-0008PP-OG for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 13:37:38 -0500 Received: from [199.232.76.173] (port=52144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6qAI-0008PM-IZ for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 13:37:34 -0500 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:43598) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6qAI-0008WC-85 for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 13:37:34 -0500 In-Reply-To: (Crni Gorac's message of "Fri, 6 Nov 2009 20:51:29 +0100") 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: Crni Gorac Cc: emacs-orgmode@gnu.org Crni Gorac writes: > On Fri, Nov 6, 2009 at 5:51 PM, Matt Lundin wrote: >> Crni Gorac writes: >> >>> How to specify a time interval for a TODO that will say span over two >>> weeks, working days only, and that will start each day at 10am. =C2=A0I >>> tried with timestamps available in org-mode, as well as with Emacs >>> diary timestamps, but to no avail. =C2=A0Any suggestion? >>> >> >> You could use a diary sexp: >> >> --8<---------------cut here---------------start------------->8--- >> * 10:00am Every weekday for two weeks >> <%%(and (memq (calendar-day-of-week date) '(1 2 3 4 5)) (diary-block 11 = 9 2009 11 20 2009))> >> --8<---------------cut here---------------end--------------->8--- >> >> - Matt >> > > Thanks Matt, this is almost there; however, if this is a TODO item, > and if I mark it done, than it's marked done once and for all, and not > only for given day, like org-mode timestamps with repeater interval. > Any further suggestions here?=20=20 Ah. I see. I don't think there's any way make an item with a diary sexp behave like a recurring timestamp. I think the best solution here would be to create multiple items w/ todos, as Stephan suggested in his post. > Maybe I'm wrong, but it seems very strange to me that a need for alike > timestamps was not recognized in org-mode - for example, how would one > build a TODO item for something like a class spanning say over two > months and with class hours say Mon and Wed between 10am and 11am? I imagine one way to do this would be to create two items with repeating timestamps: --8<---------------cut here---------------start------------->8--- * TODO 10:00am Class SCHEDULED: <2009-11-09 Mon +1w> * TODO 10:00am Class SCHEDULED: <2009-11-11 Wed +1w> --8<---------------cut here---------------end--------------->8--- > > Also, is this placing time at the start of item, and having it > recognized when agenda view built some kind of special syntax? I > wasn't able to find it mentioned in org-mode documentation... I'm sorry to say that I'm not sure where it's documented. But org-mode does scan the headline for time of day information. Best, Matt