emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brian Shine <brianshine@mac.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org, Brian Shine <brianshine@mac.com>
Subject: Re: Scheduling and calendar-day-of-week
Date: Fri, 06 Apr 2018 17:46:28 +0100	[thread overview]
Message-ID: <C75CE28D-128F-4FDA-B02F-1AD97CE8AB6E@mac.com> (raw)
In-Reply-To: <87zi2gmncr.fsf@alphaville.usersys.redhat.com>

An alternative, which isn’t as neat as you would like, would be to set up the 3 days as separate events, with 7-day repeats.

Best wishes,
Brian

> On 6 Apr 2018, at 15:16, Nick Dokos <ndokos@gmail.com> wrote:
> 
> 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
> 
> 

  reply	other threads:[~2018-04-06 16:46 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
2018-04-06 16:46   ` Brian Shine [this message]
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=C75CE28D-128F-4FDA-B02F-1AD97CE8AB6E@mac.com \
    --to=brianshine@mac.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).