Re: [Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Bastien
Carsten Dominik writes: > No, I think this is good to have - other functionality may want to use > it. > Please check it in. Okay, done! -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gn

Re: [Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Carsten Dominik
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-cl

Re: [Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Bastien
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 c

Re: [Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Carsten Dominik
Yes, please go ahead. Thanks. - Carsten On Feb 24, 2010, at 3:39 PM, Bastien wrote: This patch creates `org-clock-current-task', a new variable to access the name of the task currently clocked in. I use it together with erc-bot.el to let people ask me what I'm doing right now (either from Bi

[Orgmode] [Patch] org-clock-current-task

2010-02-24 Thread Bastien
This patch creates `org-clock-current-task', a new variable to access the name of the task currently clocked in. I use it together with erc-bot.el to let people ask me what I'm doing right now (either from BitlBee/IRC). Shall I push it? diff --git a/lisp/org-clock.el b/lisp/org-clock.el index e3