From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Repeat every X business days and every Xth day-of-the-week Date: Sun, 18 Mar 2012 09:31:53 -0400 Message-ID: <87ty1mc9x2.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9GDG-0006SO-JH for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 09:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9GDE-0001zk-SY for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 09:31:58 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:50634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9GDE-0001y3-PB for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 09:31:56 -0400 In-Reply-To: (Jay McCarthy's message of "Sat, 17 Mar 2012 23:38:35 -0600") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jay McCarthy Cc: emacs-orgmode@gnu.org Jay McCarthy 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