emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Add org-clock-clocking-in for hooks
Date: Thu, 20 May 2010 11:43:01 -0400	[thread overview]
Message-ID: <871vd64m0q.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1274368441-4727-1-git-send-email-bernt@norang.ca> (Bernt Hansen's message of "Thu\, 20 May 2010 11\:14\:01 -0400")

Bernt Hansen <bernt@norang.ca> writes:

> org-clock-out-hook can now query org-clock-clocking-in to see if org-clock-out is
> being called inside org-clock-in.  This allows the hook to selectively clock
> in another task without leaving clocks open.

OOPS.  Please don't apply this just yet.  I originally called my new var
org-clock-in-active but found there's a org-clock-is-active already and
thought it was too similar.  So I changed it to
org-clock-clocking-in... and it turns out we have one of those already.

New patch to follow.

Thanks,
Bernt

  reply	other threads:[~2010-05-20 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 15:14 [PATCH] Add org-clock-clocking-in for hooks Bernt Hansen
2010-05-20 15:43 ` Bernt Hansen [this message]
2010-05-20 16:20   ` [PATCH] Set org-clock-clocking-in when calling org-clock-out from org-clock-in Bernt Hansen
2010-05-20 21:23     ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vd64m0q.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).