[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Fixes for org-capture-templates-contexts
From: |
Bastien |
Subject: |
Re: [O] Fixes for org-capture-templates-contexts |
Date: |
Sat, 12 Jan 2013 09:47:08 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Darlan,
Darlan Cavalcante Moreira <address@hidden> 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