emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Jay McCarthy <jay.mccarthy@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Repeat every X business days and every Xth day-of-the-week
Date: Sun, 18 Mar 2012 09:31:53 -0400	[thread overview]
Message-ID: <87ty1mc9x2.fsf@norang.ca> (raw)
In-Reply-To: <CAJYbDanoZkDd0-+oixWV9rW=eHW3O379kVBiGhP0epy6NhWkQA@mail.gmail.com> (Jay McCarthy's message of "Sat, 17 Mar 2012 23:38:35 -0600")

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

> I wish that I could write +1bd on a repeating tasks so that it skips
> from Friday to Monday.
>
> I looked into implementing this myself, but there are a lot of places
> (29) where the regexp [dwmy] is used and it scares me off because I
> think I'll break something. It almost seems like you should be able to
> add a new 'what' to 'org-timestamp-change' and it will Just Work. But
> the algorithm in there would need to change a bit, because it would
> try to change by a number of days, but then adjust based on the advic
> day of the week.
>
> For now, I just manually complete the task on Saturdays and Sundays...
> but it seems wrong to get credit in the TODO -> DONE log when I really
> didn't do it :)

You can also just adjust the date with S-right until the next
occurrence - this doesn't mark it DONE.  Then you don't get 'credit' for
doing it on weekends.

HTH,
Bernt

      parent reply	other threads:[~2012-03-18 13:31 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
2012-03-18 13:30   ` Bernt Hansen
2012-03-18 13:31 ` Bernt Hansen [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=87ty1mc9x2.fsf@norang.ca \
    --to=bernt@norang.ca \
    --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).