emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Welle <mwe012008@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: Inserting todo time range
Date: Thu, 27 Jun 2019 08:48:13 +0200	[thread overview]
Message-ID: <87blyj4j82.fsf@luisa.c0t0d0s0.de> (raw)
In-Reply-To: <c707abcd-2d49-73a6-792c-6096ccc6b90e@posteo.de> ("Raimund \=\?utf-8\?Q\?Kohl-F\=C3\=BCchsle\=22's\?\= message of "Wed, 26 Jun 2019 21:16:25 +0200")

Hello,

Raimund Kohl-Füchsle <rk-f@posteo.de> 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/

  parent reply	other threads:[~2019-06-27  7:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26 19:16 Inserting todo time range Raimund Kohl-Füchsle
2019-06-26 22:53 ` Kyle Meyer
2019-06-27  4:19   ` Raimund Kohl-Füchsle
2019-06-27  6:48 ` Michael Welle [this message]
2019-06-30  0:13   ` Spenser Truex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blyj4j82.fsf@luisa.c0t0d0s0.de \
    --to=mwe012008@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).