From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Total time displayed in the modeline? Date: Thu, 03 Feb 2011 13:50:03 +0100 Message-ID: <87fws5nuys.fsf@gnu.org> References: <87lj6ae49h.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=32893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkydQ-0006CL-Cg for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:50:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkydO-0007yY-Fy for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:50:04 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:45767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkydO-0007wi-53 for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 07:50:02 -0500 Received: by fxm12 with SMTP id 12so1183625fxm.0 for ; Thu, 03 Feb 2011 04:50:01 -0800 (PST) In-Reply-To: <87lj6ae49h.fsf@mundaneum.com> (=?iso-8859-1?Q?=22S=E9bastien?= Vauban"'s message of "Thu, 07 Oct 2010 11:33:30 +0200") 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: =?iso-8859-1?Q?S=E9bastien?= Vauban Cc: emacs-orgmode@gnu.org Hi Sébastien, Sébastien Vauban writes: > ;; time included for the modeline clock is all time clocked into this task > ;; today > (setq org-clock-modeline-total 'today) > > but this is not satisfying me yet, because: > > 1. for some tasks (like spending time on this newsgroup), I would like to set a > maximum time per day, > > 2. for others, such as client tasks for which I've given an effort, I would > like to see how much time I've already spent on the task... but not only > today: all days summed up. > > Currently, with the above setting, 1 is OK. 2 is not. > > Changing the value of the above variable fixes one problem, but poses a > new problem: 2 is OK, but 1 is not OK anymore. > > In fact, I would need the ability to: > > - have a global default value (such as of today), > - be able to override the behavior on a subtree level. > > Does this make sense? > Is somebody able/willing to do such? > Or, better, is there already a way to achieve my goal within the > current Org? Did you try to set CLOCK_MODELINE_TOTAL on a subtree basis? -- Bastien