From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: clock and WAIT Date: Fri, 15 Jan 2010 21:17:35 +0530 Message-ID: References: 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 1NVoP4-0001G7-5h for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:48:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVoOz-0001ED-IM for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:48:01 -0500 Received: from [199.232.76.173] (port=37609 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVoOz-0001E8-Dp for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:47:57 -0500 Received: from mail-iw0-f187.google.com ([209.85.223.187]:35813) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVoOy-0008E2-UM for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:47:57 -0500 Received: by iwn17 with SMTP id 17so618811iwn.25 for ; Fri, 15 Jan 2010 07:47:55 -0800 (PST) In-Reply-To: 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: Richard Riley Cc: emacs-orgmode@gnu.org On Fri, Jan 15, 2010 at 4:52 PM, Richard Riley wrote: > > When I put a task into certain states it would be nice to stop the clock > automatically. It is done for DONE at the moment. > > Would it make sense to make > > org-clock-out-when-done > > a list of state names rather than (or in addition to) a bool? > > That way I could make it DONE, WAIT so when I cycle the state to WAIT (eg for > an email confirming something works) the clock is stopped automatically? > > Or is there another mechanism for this? Or is the mantra more to keep > stop/start manual until the obvious state for "DONE"? > Not for a list of states but it can be done for at least one state. See variable org-clock-out-switch-to-state. HTH -- Manish