emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Specifying a template when calling org-capture


From: Carsten Dominik
Subject: Re: [Orgmode] Specifying a template when calling org-capture
Date: Mon, 8 Nov 2010 11:20:01 -0600


On Nov 8, 2010, at 10:48 AM, Nathan Neff wrote:

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

You need

 (org-capture nil "t")

- Carsten


Can anyone tell me how to specify the KEYS argument correctly to the
org-capture function?

Thanks,
--Nate

Thanks,
--Nate

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]