emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Repeat three times a week
Date: Fri, 6 Apr 2018 09:14:05 +0200	[thread overview]
Message-ID: <CAG-LmmA6QL5VHr7dsLMfOee-V-wWXuNM-rwZLgucjy7Oaa=x1Q@mail.gmail.com> (raw)
In-Reply-To: <CAJ51ETodwbnaDBz+aT_dAciU8bnd+hJvo=9yrPtn=Y9b+y+qtg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

2018-04-05 17:53 GMT+02:00 John Kitchin <jkitchin@andrew.cmu.edu>:

> 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.html
>
>

​This works. Thanks.



> On Thu, Apr 5, 2018 at 12:11 AM, Cecil Westerhof <cldwesterhof@gmail.com>
> 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?
>>
>
-- 
Cecil Westerhof

[-- Attachment #2: Type: text/html, Size: 2236 bytes --]

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05  7:11 Repeat three times a week Cecil Westerhof
2018-04-05 15:53 ` John Kitchin
2018-04-06  7:14   ` Cecil Westerhof [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='CAG-LmmA6QL5VHr7dsLMfOee-V-wWXuNM-rwZLgucjy7Oaa=x1Q@mail.gmail.com' \
    --to=cldwesterhof@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).