From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Repeat three times a week Date: Fri, 6 Apr 2018 09:14:05 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003135f7056928cdb5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4LZY-0005Ms-1L for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 03:14:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4LZW-0000NV-W2 for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 03:14:07 -0400 Received: from mail-ot0-x235.google.com ([2607:f8b0:4003:c0f::235]:46760) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4LZW-0000NG-Qp for emacs-orgmode@gnu.org; Fri, 06 Apr 2018 03:14:06 -0400 Received: by mail-ot0-x235.google.com with SMTP id v64-v6so193174otb.13 for ; Fri, 06 Apr 2018 00:14:06 -0700 (PDT) In-Reply-To: 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 --0000000000003135f7056928cdb5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-04-05 17:53 GMT+02:00 John Kitchin : > You can use diary sexps (https://www.gnu.org/software/ > emacs/manual/html_node/emacs/Sexp-Diary-Entries.html). For example: > > * TODO something Mon, Wed and Fri > SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))> > > See the bottom of https://orgmode.org/manual/Deadlines-and-scheduling.htm= l > > =E2=80=8BThis works. Thanks. > On Thu, Apr 5, 2018 at 12:11 AM, Cecil Westerhof > wrote: > >> I have an event that I like to repeat three times a week: on Monday, >> Wednesday en Friday. Do I need three entries like: >> * TODO Do It >> SCHEDULED: <2018-04-06 Fri ++1w> >> * TODO Do It >> SCHEDULED: <2018-04-09 Mon ++1w> >> * TODO Do It >> SCHEDULED: <2018-04-11 Wed ++1w> >> >> Or is there a better way? >> > --=20 Cecil Westerhof --0000000000003135f7056928cdb5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018= -04-05 17:53 GMT+02:00 John Kitchin <jkitchin@andrew.cmu.edu>= :
You can use dia= ry sexps (https://www.gnu.org/software= /emacs/manual/html_node/emacs/Sexp-Diary-Entries.html). For e= xample:

* TODO something Mon, Wed and Fri
=C2=A0 SCHEDULED: <%%(memq (calendar-day-of-week date) '(1 3 5))>= ;


=E2=80=8BThis works. Thanks.

=C2=A0
On Thu, Apr 5, 2= 018 at 12:11 AM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
I hav= e an event that I like to repeat three times a week: on Monday, Wednesday e= n Friday. Do I need three entries like:
* TODO Do It
=C2=A0 SCHEDULED= : <2018-04-06 Fri ++1w>
* TODO Do It
=C2=A0 SCHEDULED: <2018= -04-09 Mon ++1w>
* TODO Do It
=C2=A0 SCHEDULED: <2018-04-11 Wed= ++1w>

Or is there a better way?

--
Cecil Westerhof
--0000000000003135f7056928cdb5--