From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Brent McBeth Subject: org-capture, datetree, and tags Date: Tue, 19 Feb 2013 07:25:29 -0500 Message-ID: <20130219122529.GB26449@broggs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7mGg-0004pH-Cl for emacs-orgmode@gnu.org; Tue, 19 Feb 2013 07:25:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7mGW-0004qo-Fu for emacs-orgmode@gnu.org; Tue, 19 Feb 2013 07:25:54 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:5729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7mGW-0004qM-CV for emacs-orgmode@gnu.org; Tue, 19 Feb 2013 07:25:44 -0500 Received: from williwaw ([10.0.1.2]) by broggs.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1U7mGS-0003zr-Ha for emacs-orgmode@gnu.org; Tue, 19 Feb 2013 07:25:42 -0500 Received: from mcbeth by williwaw with local (Exim 4.80) (envelope-from ) id 1U7mGH-0006Sh-8v for emacs-orgmode@gnu.org; Tue, 19 Feb 2013 07:25:29 -0500 Content-Disposition: inline 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: emacs-orgmode@gnu.org I'm trying to capture into a datetree using org-capture, but if my tree has a tag on it (in particular noexport), then it creates a new datetree instead of using the one I have. Example .emacs: (global-set-key "\C-cc" 'org-capture) (setq org-capture-templates '(("t" "Test" plain (file+datetree "~/Test.org") "%^{Greeting} World I'm going to work this time"))) Example Test.org: * 2013 :noexport: ** 2013-02 February *** 2013-02-19 Tuesday Hello World I'm going to work this time So, based on the above, if I type C-cct Silly C-cc, I'll get this: * 2013 :noexport: ** 2013-02 February *** 2013-02-19 Tuesday Hello World I'm going to work this time * 2013 ** 2013-02 February *** 2013-02-19 Tuesday Silly World I'm going to work this time Thanks for your attention, Jeffrey McBeth -- "The man who does not read good books has no advantage over the man who cannot read them." -- Mark Twain