emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Automatic clock-in
Date: Tue, 20 Apr 2010 14:46:02 +0100	[thread overview]
Message-ID: <87633ms0dh.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <m1hbn6cmmq.fsf@gmail.com>

On Tue, 20 Apr 2010 14:51:57 +0200, Andrea Crotti <andrea.crotti.0@gmail.com> wrote:
> Ah great that's really nice, I always forget to try the magic C-u
> first...
> So by the way what is the real function called when prefixing C-u?
> I mean, can I call it directly?

The same function (i.e. org-clock-in in this case) except that an
argument is passed to it.  You can see from the definition of org-clock-in:

,----
| (defun org-clock-in (&optional select)
|   "Start the clock on the current item.
| If necessary, clock-out of the currently active clock.
| With prefix arg SELECT, offer a list of recently clocked tasks to
| clock into.  When SELECT is `C-u C-u', clock into the current task and mark
| is as the default task, a special task that will always be offered in
| the clocking selection, associated with the letter `d'."
`----

that there is an optional argument called "select" which will be
defined if you use C-u or C-u C-u as the documentation says.

HTH,
eric

  reply	other threads:[~2010-04-20 13:48 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 [this message]
2010-04-20 14:50     ` Nick Dokos
2010-04-20 14:57     ` Bastien
2010-04-20  0:33 ` Bernt Hansen

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=87633ms0dh.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=andrea.crotti.0@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).