emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
To: T o n g <mlist4suntong@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-mode for diary writing
Date: Mon, 16 Nov 2009 20:27:35 +0000	[thread overview]
Message-ID: <4B01B5B7.5030007@manor-farm.org> (raw)
In-Reply-To: <hds1v9$fvn$1@ger.gmane.org>

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.

  reply	other threads:[~2009-11-16 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 17:26 Org-mode for diary writing T o n g
2009-11-16 20:27 ` Ian Barton [this message]
2009-11-18  2:57   ` Marcelo de Moraes Serpa
2009-11-18 10:09 ` Martin Pohlack
  -- strict thread matches above, loose matches on Subject: below --
2009-11-18 20:42 org-mode " Eric S Fraga

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=4B01B5B7.5030007@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mlist4suntong@yahoo.com \
    /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).