emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode for diary writing


From: Martin Pohlack
Subject: Re: [Orgmode] Org-mode for diary writing
Date: Wed, 18 Nov 2009 11:09:14 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090918)

Hi T o n g,

T o n g wrote:
> 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"?

No tutorial, but this is how I write my journal:

(custom-set-variables
 '(org-remember-templates
   (quote (("Journal" 106 "* %^{Eintrag}%?%i%&" "~/Daten/Journal.org"
            return_formated_date nil)))))

With this helper function:

;;;
;;; time and date, date in international format: YYYY-MM-DD
;;;
(defun return_formated_date ()
  (let ((time (decode-time)))
    (format "%d-%02d-%02d" (nth 5 time) (nth 4 time) (nth 3 time))))

My journal looks like this:

...
* 2009-11-13
*** abc
*** def
...

Cheers,
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]