emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Spenser Truex <usenet@spensertruex.com>
To: emacs-orgmode@gnu.org
Subject: Re: Inserting todo time range
Date: Sat, 29 Jun 2019 17:13:49 -0700	[thread overview]
Message-ID: <871rzc2ama.fsf@spensertruex.com> (raw)
In-Reply-To: 87blyj4j82.fsf@luisa.c0t0d0s0.de

Michael Welle <mwe012008@gmx.net> writes:

> 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] 

I have also been wanting to be able to do this in my agenda, so I can
have my daily M-F schedule in my org-agenda buffer.

What would it take to write ORG to behave properly on a TODO range like that?
-- 
Spenser Truex
usenet@spensertruex.com
https://spensertruex.com/
San Francisco, USA

      reply	other threads:[~2019-06-30  0:13 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
2019-06-30  0:13   ` Spenser Truex [this message]

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=871rzc2ama.fsf@spensertruex.com \
    --to=usenet@spensertruex.com \
    --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).