emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Clocking in/out hooks?
@ 2009-09-07 19:33 Noufal Ibrahim
  2009-09-08  1:44 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Noufal Ibrahim @ 2009-09-07 19:33 UTC (permalink / raw)
  To: emacs-orgmode

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.

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

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

* Re: Clocking in/out hooks?
  2009-09-07 19:33 Clocking in/out hooks? Noufal Ibrahim
@ 2009-09-08  1:44 ` Bernt Hansen
  2009-09-08  5:09   ` Noufal Ibrahim
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2009-09-08  1:44 UTC (permalink / raw)
  To: Noufal Ibrahim; +Cc: emacs-orgmode

Noufal Ibrahim <noufal@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

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

* Re: Clocking in/out hooks?
  2009-09-08  1:44 ` Bernt Hansen
@ 2009-09-08  5:09   ` Noufal Ibrahim
  0 siblings, 0 replies; 3+ messages in thread
From: Noufal Ibrahim @ 2009-09-08  5:09 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Bernt Hansen wrote:
> Noufal Ibrahim <noufal@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/

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

end of thread, other threads:[~2009-09-08  5:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07 19:33 Clocking in/out hooks? Noufal Ibrahim
2009-09-08  1:44 ` Bernt Hansen
2009-09-08  5:09   ` Noufal Ibrahim

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).