From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Fix for bug in org-capture Date: Tue, 16 Apr 2013 09:29:23 +0200 Message-ID: <87a9ozorvw.fsf@bzg.ath.cx> References: <516C7BE3.8030905@sift.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US0KX-0002rI-AB for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:29:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US0KW-0008GQ-1S for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:29:29 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:55151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US0KV-0008GG-RZ for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:29:27 -0400 Received: by mail-wg0-f50.google.com with SMTP id m15so143386wgh.17 for ; Tue, 16 Apr 2013 00:29:27 -0700 (PDT) In-Reply-To: <516C7BE3.8030905@sift.info> (Robert Goldman's message of "Mon, 15 Apr 2013 17:14:59 -0500") 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: Robert Goldman Cc: Org Mode Hi Robert, Robert Goldman writes: > I tried to make two submenus to my org-capture templates: a prefix key > "t" (for TODO) and a prefix key "T" (for today's TODO). > > When I tried to use them, the "T" key did not appear and was not accepted. > > Looking more deeply, it appears that it was filtered out by a mistakenly > case-folding (or at least potentially case-folding) search in org-capture. I cannot reproduce this. I have these two captures templates: (setq org-capture-templates '( ("Ir" "Information read" entry (file+headline "~/org/garden.org" "Infos") "* TODO %?%a :Read:\n :PROPERTIES:\n :CAPTURED: %U\n :END:\n\n%i" :prepend t) ("IR" "Information read (!)" entry (file+headline "~/org/garden.org" "Infos") "* TODO %?%a :Read:\n :PROPERTIES:\n :CAPTURED: %U\n :END:\n\n%i" :prepend t :immediate-finish t) )) They are both recognized well. Maybe you can try with this minimal example and tell if you can still reproduce the problem? Also let us know what version of Org you are using. > I am attaching a diff which has the two line fix for this bug. I'll apply it if we can reproduce and narrow down the problem. Thanks, -- Bastien