emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Total time displayed in the modeline?
@ 2010-10-07  9:33 Sébastien Vauban
  2011-02-03 12:50 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Sébastien Vauban @ 2010-10-07  9:33 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

I currently have:

--8<---------------cut here---------------start------------->8---
;; time included for the modeline clock is all time clocked into this task
;; today
(setq org-clock-modeline-total 'today)
--8<---------------cut here---------------end--------------->8---

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?

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Total time displayed in the modeline?
  2010-10-07  9:33 Total time displayed in the modeline? Sébastien Vauban
@ 2011-02-03 12:50 ` Bastien
  2011-02-03 13:46   ` Sébastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2011-02-03 12:50 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi Sébastien,

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Total time displayed in the modeline?
  2011-02-03 12:50 ` Bastien
@ 2011-02-03 13:46   ` Sébastien Vauban
  2011-02-03 14:27     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Sébastien Vauban @ 2011-02-03 13:46 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Bastien,

Bastien wrote:
> Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> 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?

I wasn't aware of this property. It seems to match perfectly my request.
Thanks!

Best regards,
  Seb

PS- Thanks a lot for your archaeological work... answering to old open
    threads. This is great.

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Total time displayed in the modeline?
  2011-02-03 13:46   ` Sébastien Vauban
@ 2011-02-03 14:27     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2011-02-03 14:27 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> PS- Thanks a lot for your archaeological work... answering to old open
>     threads. This is great.

Well, my goal is to hit "inbox zero" before FOSDEM...  glad this
archaeological work is useful :)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-03 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-07  9:33 Total time displayed in the modeline? Sébastien Vauban
2011-02-03 12:50 ` Bastien
2011-02-03 13:46   ` Sébastien Vauban
2011-02-03 14:27     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).