Re: [Orgmode] Org-mode for diary writing

2009-11-18 Thread Martin Pohlack
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: -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


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode for diary writing

2009-11-17 Thread Marcelo de Moraes Serpa
I use journal.el, it simply creates a new file in a specified directory with
the current date timestamp. I have modified it to create files with the .org
extension. I don't know why, but I prefer daily entries to be in separate
files.

Marcelo.

On Mon, Nov 16, 2009 at 2:27 PM, Ian Barton  wrote:

> 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.
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode for diary writing

2009-11-16 Thread Ian Barton

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.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-mode for diary writing

2009-11-16 Thread T o n g
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"?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode