From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Specifying a template when calling org-capture Date: Mon, 8 Nov 2010 10:48:14 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=38235 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFUtF-0008Ew-S3 for emacs-orgmode@gnu.org; Mon, 08 Nov 2010 11:48:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFUtE-0004eZ-Iw for emacs-orgmode@gnu.org; Mon, 08 Nov 2010 11:48:17 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:51274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFUtE-0004e7-B1 for emacs-orgmode@gnu.org; Mon, 08 Nov 2010 11:48:16 -0500 Received: by bwz16 with SMTP id 16so5003632bwz.0 for ; Mon, 08 Nov 2010 08:48:14 -0800 (PST) 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: emacs-orgmode Hello, Most of the time, I call the same template when calling org-capture. I'd like to define a key to call the template without going to the menu. I found the documentation where it says "Lisp programs can set KEYS to a string associated with a template in `org-capture-templates'. In this case, interactive selection will be bypassed." I've tried several attempts at calling org-capture and specifying KEYS, but haven't gotten it to work. The method signature is (org-capture &optional GOTO KEYS) Here's my attempts, my template's hotkey is "t" (call-interactively (org-capture nil "t")) ;; doesn't work (org-capture nil 't) ;; doesn't work Can anyone tell me how to specify the KEYS argument correctly to the org-capture function? Thanks, --Nate Thanks, --Nate