From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albin Stjerna Subject: Re: Non-scheduled repeating tasks Date: Fri, 23 May 2014 14:15:40 +0200 Message-ID: References: <87sio1f3df.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnoNy-0000Az-PY for emacs-orgmode@gnu.org; Fri, 23 May 2014 08:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnoNx-0002yZ-NB for emacs-orgmode@gnu.org; Fri, 23 May 2014 08:15:42 -0400 In-Reply-To: <87sio1f3df.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Thanks! I'll look into that. :) On 23 May 2014 07:52, Bastien wrote: > Hi Albin, > > Albin Stjerna writes: > >> 1. Has something like this been attempted by anyone else before? > > No -- but there are regular feature requests around making repeaters > more flexible. I hope I can enhance this for 8.4 (or 9.0.) > >> 2. Which org-mode hooks would be a good place to start integrating >> something that would both potentially block TODO transitions and have >> to read/write properties and/or special drawers in org-mode? > > You can cook something from `org-after-todo-state-change-hook'. > > Put the repeat value in a property, decrease it each time a task is > done until the repeater value is 0. Displaying the repeater value can > be done in column mode. > > That's for the first part of this feature -- the one with blocking > TODOs, see `org-blocker-hook' and `org-trigger-hook'. Not sure it > will help though. > > See also the manual on adding properties (i.e. `org-entry-put') and > hacking Org in general. > > HTH, > > -- > Bastien