emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automatic clock-in
Date: Mon, 19 Apr 2010 20:33:21 -0400	[thread overview]
Message-ID: <87ochfdktq.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <m139yrebxr.fsf@gmail.com> (Andrea Crotti's message of "Mon\, 19 Apr 2010 16\:47\:44 +0200")

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> I'm using more and more the very nice clock functions provided by
> org-mode.
> I added this
> --8<---------------cut here---------------start------------->8---
> (global-set-key "\C-c\C-x\C-o" 'org-clock-out)
> --8<---------------cut here---------------end--------------->8---
>
> So I can clock out from every buffer without problems.
> It would be nice somehow to have a similar thing for clock in also.
> It's not so easy of course but most of the I clock in in the same buffer
> that I last clocked out.
>
> There could be a default choice which brings you there and otherwise
> asks you to which buffer you want to clock in, something like that.
>
> Or is there another better way to do already what I'm asking?

Hi Andrea,

I have a couple of tasks I regularly clock in (organization, and read
mail/news).  These I clock in by F9-o and F9-m respectively.  They look
up the task by id and clock it in no matter what buffer I am in.  I have
F9-O as org-clock-out.

F11 is bound to org-clock-goto and C-F11 bound to org-clock-in so I can
return to my last clocked task simply by pressing F11, or I can visit
any recently clocked task with C-u F11 and I can clock in any recently
clocked task with C-u C-F11.

I use this all the time without thinking about it anymore :)

More details are here:
http://doc.norang.ca/org-mode.html#KeyBindings
http://doc.norang.ca/org-mode.html#ClockSetup

Regards,
Bernt

      parent reply	other threads:[~2010-04-20  0:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 14:47 Automatic clock-in Andrea Crotti
2010-04-19 15:49 ` Benjamin Andresen
2010-04-19 17:27   ` Eric S Fraga
2010-04-20 12:51   ` Andrea Crotti
2010-04-20 13:46     ` Eric S Fraga
2010-04-20 14:50     ` Nick Dokos
2010-04-20 14:57     ` Bastien
2010-04-20  0:33 ` Bernt Hansen [this message]

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=87ochfdktq.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=andrea.crotti.0@gmail.com \
    --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).