emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Repeat three times a week
@ 2018-04-05  7:11 Cecil Westerhof
  2018-04-05 15:53 ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2018-04-05  7:11 UTC (permalink / raw)
  To: emacs-orgmode

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

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: 595 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Repeat three times a week
  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
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2018-04-05 15:53 UTC (permalink / raw)
  To: Cecil Westerhof; +Cc: org-mode-email

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

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

I don't use this, so I don't know what the practical limitations are.

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


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: 2163 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Repeat three times a week
  2018-04-05 15:53 ` John Kitchin
@ 2018-04-06  7:14   ` Cecil Westerhof
  0 siblings, 0 replies; 3+ messages in thread
From: Cecil Westerhof @ 2018-04-06  7:14 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-06  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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