From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Questions about org-capture templates and usage Date: Mon, 06 Dec 2010 09:10:41 -0500 Message-ID: <87lj43800u.fsf@norang.ca> References: <83bp50hgy2.fsf@gmail.com> <8762v81le1.fsf@fastmail.fm> <87pqtf8sb2.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57457 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPbmB-00037L-KS for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 09:10:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPbmA-0005M5-IA for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 09:10:47 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:59079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPbmA-0005M1-GX for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 09:10:46 -0500 In-Reply-To: (Alan E. Davis's message of "Mon, 6 Dec 2010 15:02:06 +1000") 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: "Alan E. Davis" Cc: Matt Lundin , emacs-orgmode@gnu.org "Alan E. Davis" writes: > | > | (org-capture &optional GOTO KEYS) > | > > I THINK I understand that GOTO here refers to the prefix C-u ?=C2=A0 And = C-u C-u circumvents this? GOTO is the value of the prefix. C-u has a value of 4 For C-u C-M-r GOTO is set to 4 (due to the single prefix) For C-u C-u C-M-r GOTO is set to 16 (due to the double prefix) The code for org-capture looks for specific prefix values and changes the behaviour of the function accordingly. ,----[ code from org-capture ] | ((equal goto '(4)) (org-capture-goto-target)) | ((equal goto '(16)) (org-capture-goto-last-stored)) `---- -Bernt