emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture, datetree, and tags
@ 2013-02-19 12:25 Jeffrey Brent McBeth
  2013-02-20 11:40 ` Tim Burt
  2013-02-20 11:43 ` Jeffrey Brent McBeth
  0 siblings, 2 replies; 7+ messages in thread
From: Jeffrey Brent McBeth @ 2013-02-19 12:25 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-24 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19 12:25 org-capture, datetree, and tags Jeffrey Brent McBeth
2013-02-20 11:40 ` 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

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).