From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: Inserting todo time range Date: Thu, 27 Jun 2019 08:48:13 +0200 Message-ID: <87blyj4j82.fsf@luisa.c0t0d0s0.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48859) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgOPw-0005TG-Px for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 03:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgOPg-0001VS-Nw for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 03:01:50 -0400 Received: from mout.gmx.net ([212.227.17.22]:54681) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgOPf-0000vG-21 for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 03:01:43 -0400 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lngv5-1iDGmN0xiB-00hsrJ for ; Thu, 27 Jun 2019 08:48:16 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 909EB18118D for ; Thu, 27 Jun 2019 08:48:13 +0200 (CEST) In-Reply-To: ("Raimund \=\?utf-8\?Q\?Kohl-F\=C3\=BCchsle\=22's\?\= message of "Wed, 26 Jun 2019 21:16:25 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, Raimund Kohl-F=C3=BCchsle writes: [...] > If instead I would use > > ** TODO Test Time range > > =C2=A0=C2=A0=C2=A0 <2004-08-23 Mon>--<2004-08-26 Thu> > > then this for org-mode would just be one todo; if I mark it done on > Mon all other days are marked as done, too. > > So how would I schedule a daily TODO only, say, this week from Mo - > Fr? well, I think there are only wuerg-arounds to gain the desired behaviour. First, you can use a sexp to specify the days on which your task will be inserted into your agenda: SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 2 3 4 5))> But with that your task is done when you set it to done. Something like the following isn't perfect, but seems to work: ** TODO foobar DEADLINE: <2020-01-04 Sat +1d> SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 2 3 4 5))> [2019-03-31 Sun]=20 =20=20=20 Regards hmw --=20 FrOSCon? Free and Open Source Software Conference 10th + 11th August 2019, Sankt Augustin, Bonn Area/Germany https://www.froscon.de/en/