emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Re: starting a clock when not in org-mode
Date: Fri, 13 May 2011 07:43:29 -0400	[thread overview]
Message-ID: <87y62arfku.fsf@fastmail.fm> (raw)
In-Reply-To: <87k4dvc63u.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 13 May 2011 10:17:09 +0100")

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

[...]

> The org-clock-in method works very well when I am pro-actively deciding
> what tasks to work on, e.g. through the agenda view.  However, in some
> cases, I am reacting to external events (emails, somebody coming to see
> me, phone call, etc).  I have a number of tasks which are more general
> and which capture this type of activity (admin, teaching, ...).  If I
> happen to be in an org mode buffer, then "C-u M-x org-clock-in RET"
> allows me to pick the particular task (as it will typically be in the
> history) and clock it in.  Works well.
>
> If I am *not* in an org buffer (yes, this happens sometimes ;-), I
> cannot do this as org-clock-in, even with the C-u arg, wants to find a
> headline.  Can anybody suggest how I can clock in to a previously
> clocked task from any emacs mode?

I cannot reproduce this. Here are the steps I took.

 - clocked into a headline
 - clocked out
 - switched buffer to *scratch* (I tried it a second time with a TeX
   buffer, which also worked)
 - typed C-u M-x org-clock-in
 - selected 1 (the most recent task)

Org successfully clocked into the task in the background.

Best,
Matt

  reply	other threads:[~2011-05-13 11:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13  9:17 starting a clock when not in org-mode Eric S Fraga
2011-05-13 11:43 ` Matt Lundin [this message]
2011-05-13 11:53   ` Carsten Dominik
2011-05-13 12:12     ` Eric S Fraga
2011-05-13 12:18       ` Eric S Fraga
2011-05-13 12:32   ` Bernt Hansen
2011-05-13 11:46 ` Sebastien Vauban
2011-05-13 12:14   ` Eric S Fraga

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=87y62arfku.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --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).