[Orgmode] Re: Clocking in/out hooks?

2009-09-07 Thread Bernt Hansen
Noufal Ibrahim nou...@nibrahim.net.in writes:

 Hello everyone,
I want to tie up a couple of functions when I clock into and out of
 a task. In order to do this, the normal way would be some kind of
 hook. Is there something in org-mode I can use to achieve this? Is a
 hook overkill? I'm willing to write something and submit a patch if
 that's the right way to go.

 Thanks.

M-x apropos ^org-.*-hook$

org-clock-cancel-hook
  Variable: Hook run when cancelling the current clock.
  Plist: variable-documentation
org-clock-goto-hook
  Variable: Hook run when selecting the currently clocked-in entry.
  Plist: variable-documentation
org-clock-in-hook
  Variable: Hook run when starting the clock.
  Plist: variable-documentation
org-clock-in-prepare-hook
  Variable: Hook run when preparing the clock.
  Plist: variable-documentation
org-clock-out-hook
  Variable: Hook run when stopping the current clock.
  Plist: variable-documentation

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Clocking in/out hooks?

2009-09-07 Thread Noufal Ibrahim

Bernt Hansen wrote:

Noufal Ibrahim nou...@nibrahim.net.in writes:


Hello everyone,
   I want to tie up a couple of functions when I clock into and out of
a task. In order to do this, the normal way would be some kind of
hook. Is there something in org-mode I can use to achieve this? Is a
hook overkill? I'm willing to write something and submit a patch if
that's the right way to go.

Thanks.


M-x apropos ^org-.*-hook$


Thanks Brent. Looks like I need to upgrade my org-mode.



--
~noufal
http://nibrahim.net.in/


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode