emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Inserting todo time range


From: Michael Welle
Subject: Re: [O] Inserting todo time range
Date: Thu, 27 Jun 2019 08:48:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.50 (gnu/linux)

Hello,

Raimund Kohl-Füchsle <address@hidden> writes:
[...]
> If instead I would use
>
>    ** TODO Test Time range
>
>         <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] 
   

Regards
hmw

-- 
FrOSCon? Free and Open Source Software Conference
10th + 11th August 2019, Sankt Augustin, Bonn Area/Germany
https://www.froscon.de/en/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]