From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: org-capture-templates with multi charachter keys Date: Fri, 02 Oct 2015 16:30:17 -0400 Message-ID: <87bnchggiu.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi6yH-0002Ry-7G for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 16:30:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zi6yE-000372-0y for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 16:30:25 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:33465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zi6yD-00036j-TD for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 16:30:21 -0400 Received: by qgev79 with SMTP id v79so104746032qge.0 for ; Fri, 02 Oct 2015 13:30:21 -0700 (PDT) In-Reply-To: (tenspd's message of "Fri, 2 Oct 2015 14:06:26 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "tenspd137 ." Cc: emacs-orgmode@gnu.org Hello, "tenspd137 ." writes: > (setq org-capture-templates > '(("t" "Todo" entry (file+headline (concat org-directory > "/default.org") "Tasks") > "* TODO %?\n %i\n %a") > ("j" "Journal" entry (file+datetree (concat org-directory > "/journal.org")) > "* %?\nEntered on %U\n %i\n %a") > ;;product stuff - I would like to move these to files and have > ;;them loaded - maybe in the future > ("bf" "Bluefin Todo" entry (file+headline (concat > org-directory "/bluefin.org") "Tasks") > "* TODO %?\n %i\n %a"))) > > the last one I am using "bf" as a key. When I go to use org capture, > the following is shown in the menu > > Select a capture template > =================== > > [t] Todo > [j] Journal > [bf] Bluefin Todo > ---------------------------------------- > [C] Customize org-capture-templates > [q] Abort > > but when I hit b (as in bf), the mini-buffer just says invalid key `b' > > How do I use multiple keys? I think you're missing this bit from org-capture-templates's docstring: When using several keys, keys using the same prefix key must be together in the list and preceded by a 2-element entry explaining the prefix key, for example ("b" "Templates for marking stuff to buy") -- Kyle