all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Looking for a sample function to find a location for org-capture
@ 2010-08-12  1:30 Charles Cave
  2010-08-12 10:06 ` Carsten Dominik
  2010-08-12 14:37 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Charles Cave @ 2010-08-12  1:30 UTC (permalink / raw)
  To: emacs-orgmode

I'm exploring the many features of org-capture and I see the
documentation about a function for finding the location for refiling.

I would like to see some sample code on how to do this.

At the moment I am using a date tree to file my TODO items and
notes. (I am writing an article about this and will publish soon)

Let's say I had a headline structure for weeks of the year and I would
like a function to add an item to the heading corresponding to the week
of the year. Today (12th Aug) we are in Week 32. 

What would the function be to file under the appropriate heading:

* 2010
** 2010-Week-28
** 2010-Week-29
** 2010-Week-30
** 2010-Week-31
** 2010-Week-32
** 2010-Week-33

Could the function create the heading if it didnt exist . just like 
org-capture handles creation of new brances on a date tree?


Charles

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

end of thread, other threads:[~2010-08-12 23:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-12  1:30 Looking for a sample function to find a location for org-capture Charles Cave
2010-08-12 10:06 ` Carsten Dominik
2010-08-12 11:42   ` Nick Dokos
2010-08-12 14:37 ` Bastien
2010-08-12 23:11   ` Charles Cave

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.