emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Scheduling and calendar-day-of-week
Date: Fri, 06 Apr 2018 10:16:36 -0400	[thread overview]
Message-ID: <87zi2gmncr.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAG-LmmBs3pY5NXfckWP9juJLtmqxRb4BNfRU=KOD88P1t7n1dA@mail.gmail.com

Cecil Westerhof <cldwesterhof@gmail.com> writes:

> There is something I want to do on Monday, Wednesday and Friday. So I tried:
> *** TODO Monday, Wednesday and Friday
>     SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))>
>
> This seems to work: I see the activity on the correct days.
> But then I changed today's entry to DONE. But then all are gone in my agenda view.
> What I want is for today's item to be 'gone' and the future ones still displayed as TODO. Is that possible?
>
> --
> Cecil Westerhof
>

My impression is that calendar sexp entries don't play well with the
rest of org-mode: most of the code does not understand them, so you
end up with situations like the above.

IMO, you are better off creating separate entries for MWF. You might
want to look into `org-clone-subtree-with-time-shift' to create them
efficiently.

-- 
Nick

  parent reply	other threads:[~2018-04-06 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06  7:46 Scheduling and calendar-day-of-week Cecil Westerhof
2018-04-06  8:23 ` stardiviner
2018-04-06 14:16 ` Nick Dokos [this message]
2018-04-06 16:46   ` Brian Shine
2018-04-06 17:13     ` Brian Shine
2018-04-06 19:52 ` Tim Cross

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=87zi2gmncr.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.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).