From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Cave Subject: Adding a timestamp after refiling Date: Thu, 25 Mar 2010 02:43:49 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nud3F-0000lK-7v for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 22:44:05 -0400 Received: from [140.186.70.92] (port=33557 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nud3E-0000kL-1F for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 22:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nud3C-0002Sb-Sa for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 22:44:03 -0400 Received: from lo.gmane.org ([80.91.229.12]:56056) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nud3C-0002SU-LF for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 22:44:02 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nud3A-0000MX-FJ for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 03:44:00 +0100 Received: from 203.166.111.206 ([203.166.111.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 03:44:00 +0100 Received: from charles.cave by 203.166.111.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 03:44:00 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I use a task planning methodology From Mark Forster called "Autofocus" (http://www.markforster.net/autofocus-index/) Part of the workflow is rewriting a task at the end of the list of things to do - in orgmode terms - refiling a task. Would it be possible to add functionality to add a date/time stamp when a task is refiled? I have looked at the Tracking TODO state changes documentation in section 5.3.2 and this style of logging would be good. I am not a Lisp programmer but I have heard the term "hook" in regard to org-mode, so I assume there is some point in the code for each function to add extra functionality before or after a function is done? For example, after executing the org-refile command, add a date time stamp to the heading. Thanks Charles