From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Automatic clock-in Date: Tue, 20 Apr 2010 14:46:02 +0100 Message-ID: <87633ms0dh.wl%ucecesf@ucl.ac.uk> References: <874oj7cuiy.fsf@in-ulm.de> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4Doi-00047e-GB for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:48:44 -0400 Received: from [140.186.70.92] (port=50073 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4Doc-0003xw-Uz for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:48:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4DmD-00066H-Jf for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:46:16 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:58878) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4DmD-00065c-Bl for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:46:09 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: emacs-orgmode@gnu.org On Tue, 20 Apr 2010 14:51:57 +0200, Andrea Crotti 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