[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-mode for diary writing
From: |
Ian Barton |
Subject: |
Re: [Orgmode] Org-mode for diary writing |
Date: |
Mon, 16 Nov 2009 20:27:35 +0000 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
T o n g wrote:
Hi,
I found people are using org-mode for diary writing in recent mlist
archive, but wasn't able to find such tutorials.
Anyone can enlighten me with such tutorial, which is for org-mode newbies
and focusing on how to make most use of applicable org-mode features, and
maybe a bonus "best-practice diary writing with org-mode"?
I am not aware of any tutorials. However, at the moment I use remember
with the following template:
("Journal" ?j "* %^U :journal:\n\n** %^{Prompt} %i%&\n %!"
"~/Documents/org/journal/journal_2009.org")
This stores entries as a headline under the date so an entry will look like:
* [2009-11-15 Sun]
:journal:
** Ironbridge Gorge.
Your text goes here.
This doesn't attempt to avoid duplicate date entries from calling the
template twice. If I have already created an entry for that day I simply
open my journal file and append stuff under that heading.
At the end of each month I create a month heading and move each day
under it, like:
* 2009-08 August
** [2009-08-31 Mon]
Fetched More Logs from the Wood.
I keep each year in a separate file. I could make this much more
automated, but it's just as easy to do it manually.
You might also want to see my recent message "[Orgmode] org-datetree
Some Suggestions". Carsten has recently introduced the datetree
directive in remember templates, which should be very useful for
automated diary entries.
Ian.