From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Fixes for org-capture-templates-contexts Date: Sat, 12 Jan 2013 09:47:08 +0100 Message-ID: <874nimu6sz.fsf@bzg.ath.cx> References: <50f01763.624fec0a.484e.439b@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtwkJ-0001lK-Si for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 03:47:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtwkB-00061i-Ld for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 03:47:19 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:36850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtwkB-00061b-Fp for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 03:47:11 -0500 Received: by mail-wg0-f44.google.com with SMTP id dr12so1165215wgb.11 for ; Sat, 12 Jan 2013 00:47:10 -0800 (PST) In-Reply-To: <50f01763.624fec0a.484e.439b@mx.google.com> (Darlan Cavalcante Moreira's message of "Fri, 11 Jan 2013 10:44:42 -0300") 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: Darlan Cavalcante Moreira Cc: emacs-orgmode@gnu.org, Paul Sexton Hi Darlan, Darlan Cavalcante Moreira writes: > By a great coincidence I just discovered org-capture-templates-contexts > yesterday but could not make it work yet (didn't have much time to > investigate it). Please try to customize `org-capture-templates-contexts' using the customize interface. The docstring was giving wrong direction (it is fixed in latest git though.) > Is it possible to have capture templates that do not > appear in any buffer but can be called from lisp? (setq org-capture-templates-contexts '(("c" ((not-in-mode . "emacs-lisp-mode"))))) > ps: this rule affecting all sub-templates will also be very userful. +1! HTH, -- Bastien