emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Subject: Use of date trees in Capture has been modified
@ 2017-03-16  7:55 Carsten Dominik
  2017-03-16  8:34 ` Alan Schmitt
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2017-03-16  7:55 UTC (permalink / raw)
  To: org-mode list

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

Dear all,

I have just pushed (to master) a patch that modifies the use
of date trees in capture templates.  If you don't use them,
no need to read on.

We used to have 4 different capture targets that work with date trees:
file+datetree, file+datetree+prompt, file+weektree,
file+weektree+promt.
All these are now consolidated to a single new target,
file+olp+datetree, which also allows for the optional specification of
an outline-path to build the tree under a specific headline instead of
at top level in the target file.  In this way, you can have several
date trees in a file.  The type of tree (month or iso-week) is now
controlled with a property :tree-type, the option to force a
date/time prompt is controlled by the property :time-prompt.

For the time being, the old targets will be automatically translated
and used correctly. When you use customize to change
org-capture-templates, things will automatically be updated next time
you change the variable.  The recommendation is to go and update your
templates, in case at some time in the future, we might remove the
compatibility layer.

Let me know if any issues arise.

Carsten

[-- Attachment #2: Type: text/html, Size: 1473 bytes --]

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

end of thread, other threads:[~2017-03-16 22:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <59779b8073fa4f0683216c82e6ec9cce@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-16  9:39 ` Subject: Use of date trees in Capture has been modified Eric S Fraga
2017-03-16 10:10   ` Carsten Dominik
     [not found]   ` <b855abbe7ad14fcfbd3f76767d8a4a0b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-16 19:12     ` Eric S Fraga
2017-03-16  7:55 Carsten Dominik
2017-03-16  8:34 ` Alan Schmitt
2017-03-16 11:41   ` Carsten Dominik

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