emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: How to switch to a specific state when clocking out?
Date: Tue, 2 Jun 2009 20:38:07 +0530	[thread overview]
Message-ID: <e7cdbe30906020808o1bb814fbp1433081851b36bd3@mail.gmail.com> (raw)
In-Reply-To: <87k53ueonr.fsf@gollum.intra.norang.ca>

  On Tue, Jun 2, 2009 at 7:14 PM, Bernt Hansen wrote:
  > Manish <mailtomanish.sharma@gmail.com> writes:
  >
  >> Hello!
  >>
  >> Does anyone know of a counterpart to org-clock-in-switch-to-state
  >> that can switch to a specific state when clocking out of an item?
  >
  > Hi Manish!
  >
  > As far as I know that functionality does not exist.

Thanks Bernt.  I did notice you leaving tasks in STARTED state when
clocking out.

I do not know elisp at all but I dared to peep into org-clock.el.  It
seemed it would just require setting a variable, test for the variable
when clocking out in org-clock-out function and call org-todo with the
value of variable as ARG.  It seems it is not as simple as that.  I will
try to play some more and see if anything comes out of that.

Regards,
-- 
Manish

  reply	other threads:[~2009-06-02 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 13:39 How to switch to a specific state when clocking out? Manish
2009-06-02 13:44 ` Bernt Hansen
2009-06-02 15:08   ` Manish [this message]
2009-06-02 16:05   ` Carsten Dominik
2009-06-02 19:11     ` Manish

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=e7cdbe30906020808o1bb814fbp1433081851b36bd3@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=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).