From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Scheduling and calendar-day-of-week Date: Fri, 06 Apr 2018 10:16:36 -0400 Message-ID: <87zi2gmncr.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4SAc-00065u-Dr for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 10:16:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4SAZ-0002GK-85 for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 10:16:50 -0400 Received: from [195.159.176.226] (port=52018 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4SAZ-0002FG-0z for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 10:16:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f4S8R-0002to-0c for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 16:14:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cecil Westerhof 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