emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Jay McCarthy <jay.mccarthy@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Repeat every X business days and every Xth day-of-the-week
Date: Sun, 18 Mar 2012 02:29:11 -0400	[thread overview]
Message-ID: <6515.1332052151@alphaville> (raw)
In-Reply-To: Message from Jay McCarthy <jay.mccarthy@gmail.com> of "Sat, 17 Mar 2012 23:38:35 MDT." <CAJYbDanoZkDd0-+oixWV9rW=eHW3O379kVBiGhP0epy6NhWkQA@mail.gmail.com>

Jay McCarthy <jay.mccarthy@gmail.com> wrote:

> ... 
> I also wish that I could specify in some way that an event happens
> every third Thursday of the month or on the first and third Wednesdays
> (when my recycling cans are picked up). I don't know of a good way to
> fit that into the current annotation scheme of + and ++.
> 
> If you have any advice about how I could do it myself safely, I'd be
> happy to try and contribute.

Diary s-exprs can do things like this:

--8<---------------cut here---------------start------------->8---

* TODO every third Thursday of the month
  <%%(org-float t 4 3)>

* TODO every first and third Wednesday of the month
  <%%(or (org-float t 3 1) (org-float t 3 3))>
--8<---------------cut here---------------end--------------->8---

See
	(info "(org) Timestamps")
	(info "(emacs) Special Diary entries")

Nick

  reply	other threads:[~2012-03-18  6:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18  5:38 Repeat every X business days and every Xth day-of-the-week Jay McCarthy
2012-03-18  6:29 ` Nick Dokos [this message]
2012-03-18 13:30   ` Bernt Hansen
2012-03-18 13:31 ` Bernt Hansen

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=6515.1332052151@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jay.mccarthy@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).