From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Cave Subject: Just discovered the date-tree capability of Remember Date: Wed, 9 Jun 2010 01:30:10 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMA7d-00045r-1g for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 21:30:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMA7b-0000sg-Vr for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 21:30:25 -0400 Received: from lo.gmane.org ([80.91.229.12]:53411) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMA7b-0000sb-OE for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 21:30:23 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMA7Y-0006Y4-Cn for emacs-orgmode@gnu.org; Wed, 09 Jun 2010 03:30:20 +0200 Received: from 203.166.111.206 ([203.166.111.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 03:30:20 +0200 Received: from charles_cave by 203.166.111.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 03:30:20 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.