emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeffrey Brent McBeth <mcbeth@broggs.org>
To: emacs-orgmode@gnu.org
Subject: org-capture, datetree, and tags
Date: Tue, 19 Feb 2013 07:25:29 -0500	[thread overview]
Message-ID: <20130219122529.GB26449@broggs.org> (raw)

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

             reply	other threads:[~2013-02-19 12:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 12:25 Jeffrey Brent McBeth [this message]
2013-02-20 11:40 ` org-capture, datetree, and tags Tim Burt
2013-02-21 11:42   ` Tim Burt
2013-02-22 13:56     ` Bastien
2013-02-23 12:18       ` Tim Burt
2013-02-24 21:05         ` Tim Burt
2013-02-20 11:43 ` Jeffrey Brent McBeth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130219122529.GB26449@broggs.org \
    --to=mcbeth@broggs.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).