From mboxrd@z Thu Jan 1 00:00:00 1970 From: "N. Raghavendra" Subject: Re: Repeated tasks Date: Mon, 16 May 2016 23:43:31 +0530 Message-ID: References: <87shxlpvq9.fsf@tricheco.cybervalley.org> Reply-To: "N. Raghavendra" Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2N1Q-0008Sa-VF for emacs-orgmode@gnu.org; Mon, 16 May 2016 14:13:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2N1N-0004Fu-EL for emacs-orgmode@gnu.org; Mon, 16 May 2016 14:13:40 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:34661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2N1N-0004Ex-0x for emacs-orgmode@gnu.org; Mon, 16 May 2016 14:13:37 -0400 Received: by mail-pa0-x234.google.com with SMTP id qo8so24857608pab.1 for ; Mon, 16 May 2016 11:13:36 -0700 (PDT) Received: from hydra.local (hrins2.hri.res.in. [220.227.103.136]) by smtp.gmail.com with ESMTPSA id ey12sm48913202pac.26.2016.05.16.11.13.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 11:13:35 -0700 (PDT) In-Reply-To: <87shxlpvq9.fsf@tricheco.cybervalley.org> (Leandro Noferini's message of "Fri, 13 May 2016 22:07:58 +0200") 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" To: emacs-orgmode@gnu.org At 2016-05-13T22:07:58+02:00, Leandro Noferini wrote: > "N. Raghavendra" writes: > >> Is there a way to specify the timestamp for a repeated task which has >> to be done on the second Sunday of every month? I'd like the todo >> state of the task to go back to TODO after it has been marked DONE, as >> described in the section on repeated tasks in the Org manual. > > You can use sexp expressions: look at the chapter 8.3 of the manual, 8.3 > Deadlines and scheduling > > For example I use this expression for the first sunday of every month: > > <%%(diary-float t 0 1)> Thanks for the reply. Yes, I know this diary-sexp, but the trouble with it is that after I change the state of such a task to DONE, it remains DONE. What I want is that when I change the state to DONE, the task must be rescheduled for the second Sunday of the next month, and the state reverted to TODO. This will be like the repeated task functionality described in the manual. Cheers, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/