From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: how to unschedule a task in agenda view? Date: Thu, 14 Jan 2010 18:07:34 +0530 Message-ID: References: <87zl4h0vx2.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVOxc-00046W-8D for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 07:38:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVOxX-00042X-J0 for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 07:37:59 -0500 Received: from [199.232.76.173] (port=42770 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVOxX-00042S-Dq for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 07:37:55 -0500 Received: from mail-iw0-f188.google.com ([209.85.223.188]:39665) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVOxX-00043o-06 for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 07:37:55 -0500 Received: by iwn26 with SMTP id 26so204101iwn.14 for ; Thu, 14 Jan 2010 04:37:54 -0800 (PST) In-Reply-To: <87zl4h0vx2.wl%ucecesf@ucl.ac.uk> 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: Eric S Fraga Cc: org-mode mailing list On Thu, Jan 14, 2010 at 4:56 PM, Eric S Fraga wrote: [...] > Ideally, it would be nice if one could attach actions (beyond logbook > recording) to todo state changes, actions like "unschedule this item > when switching to WAITING state" and I'm sure there are others... but > having this capability is not critical of course. There is a hook "org-after-todo-state-change-hook" that is called after the state of a TODO item is changed. So may be org-schedule can be called to remove the SCHEDULED time on state change to WAITING? http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.13 Best, -- Manish