emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Cave <charles_cave@optusnet.com.au>
To: emacs-orgmode@gnu.org
Subject: Just discovered the date-tree capability of Remember
Date: Wed, 9 Jun 2010 01:30:10 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100609T032021-519@post.gmane.org> (raw)

The org-mode documentation is very thorough and describes all the
features very well.  But often the power of a feauture is not evident
until I start experimenting. Such a feature is the date-tree option of
Remember mode  (section 9.1.2 Remember Templates).

I have a "journal.org" file which is my general purpose diary but I
manually create new headings each month and not worry about grouping
entries by day.

So what is a date tree?  

It is a structure in an org-mode file that looks like:

* 2010
** 2010-05 May
** 2010-06 June
*** 2010-06-08 Tuesday
*** 2010-06-09 Wednesday
****** This is my heading
And this it the content of each node.

I wasn't aware what headings are created but as you can see they are
parts of a date in the format YYYY-MM-DD annotated with a month or day name.

Here is my Remember template:
      ("Diary" ?d "\n* %^{topic} %^g\n%i%?\nAdded: %U\n" 
         "~/gtd/diary.org" date-tree) 

I also discovered you can add a property to a heading
namely  the :DATE_TREE: property, then the remember filing is done
here.  The documentation didnt tell me how to set the property value
so I used t.


* Project File
** Daily work log
   :PROPERTIES:
   :DATE_TREE: t
   :END:
*** 2010
**** 2010-06 June
***** 2010-06-09 Wednesday
****** This is my heading
Added: [2010-06-09 Wed 11:20]

Overall, this is a very useful feature of Remember mode
to make a versatile electronic diary/journal.

Well done!   Maybe I will write a short tutorial.

             reply	other threads:[~2010-06-09  1:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09  1:30 Charles Cave [this message]
2010-06-09 17:41 ` Just discovered the date-tree capability of Remember Uwe Schuerkamp
2010-06-12 16:49   ` Daniel Martins

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=loom.20100609T032021-519@post.gmane.org \
    --to=charles_cave@optusnet.com.au \
    --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).