From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Giugliano Subject: Oas: a small addon to Org Mode to automatically close tasks with statistics Date: Fri, 30 Aug 2019 21:09:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3o9j-0005y3-2X for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 17:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3o9h-0004d1-9B for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 17:10:02 -0400 Received: from mail-oln040092072071.outbound.protection.outlook.com ([40.92.72.71]:63982 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3o9h-0004aL-1f for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 17:10:01 -0400 Content-Language: en-US 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" Hi, I recently landed on this conversation: https://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00802.html Since I find myself quite often in a situation like the following: * TODO abc [3/3] - [X] a - [X] b - [X] c I decided to dive more into Org's API, and I created this library [0] to automatically moving that task to DONE. My library checks that when you are in a situation like: * TODO abc [1/1] - [X] a ** TODO b the parent task does not swap to DONE because there is still a sub-task to complete. Tasks that have heading like * abc [0/1] or * TODO abc do NOT get updated, because I want this to work only for TODO that have statistics. How could I propose this as an add-on of Org Mode? Do you think it is worth the effort? Any feedback is very welcome to learn more :) Best, Andrea [0] https://github.com/ag91/org-active-statistics