From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Patch] org-clock-current-task Date: Wed, 24 Feb 2010 16:03:53 +0100 Message-ID: References: <87tyt6u296.fsf@bzg.ath.cx> <26468BB6-A290-4344-ABB9-8DD8E876244A@gmail.com> <87ljeiu1bo.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkImN-000422-Pz for emacs-orgmode@gnu.org; Wed, 24 Feb 2010 10:03:59 -0500 Received: from [140.186.70.92] (port=60029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkImM-000417-RT for emacs-orgmode@gnu.org; Wed, 24 Feb 2010 10:03:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkImM-0003PG-3h for emacs-orgmode@gnu.org; Wed, 24 Feb 2010 10:03:58 -0500 Received: from mail-ew0-f212.google.com ([209.85.219.212]:58696) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkImL-0003PB-VO for emacs-orgmode@gnu.org; Wed, 24 Feb 2010 10:03:58 -0500 Received: by ewy4 with SMTP id 4so898365ewy.8 for ; Wed, 24 Feb 2010 07:03:56 -0800 (PST) In-Reply-To: <87ljeiu1bo.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org No, I think this is good to have - other functionality may want to use it. Please check it in. - Carsten On Feb 24, 2010, at 3:59 PM, Bastien wrote: > Carsten Dominik writes: > >> Yes, please go ahead. > > Thanks. > > Attached is more complete version: now clocking out will set the > content of `org-clock-current-task' to nil. > > It occurs to me that such a simple functionnality could also use > hooks. > What do you think ? Is it better to include it in the code or to > simply > put the hooks on Worg? > > > -- > Bastien - Carsten