Re: [Orgmode] Re: Automatically insert inactive timestamps

2010-12-09 Thread Andrew J. Korty
Nick Dokos wrote: Andrew J. Korty wrote: > Bernt Hansen wrote: > > > (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp) > > Using org-insert-heading-hook is more elegant than my way, but I only > want timestamps on TODO entries, so I use > I think you should be a

[Orgmode] Re: Automatically insert inactive timestamps

2010-12-09 Thread Matt Lundin
"Andrew J. Korty" writes: > Bernt Hansen wrote: > >> (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp) > > Using org-insert-heading-hook is more elegant than my way, but I only > want timestamps on TODO entries, so I use > > #+begin_src emacs-lisp > (defadvice org-insert-

Re: [Orgmode] Re: Automatically insert inactive timestamps

2010-12-08 Thread Nick Dokos
Andrew J. Korty wrote: > Bernt Hansen wrote: > > > (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp) > > Using org-insert-heading-hook is more elegant than my way, but I only > want timestamps on TODO entries, so I use > I think you should be able to use org-entry-get

Re: [Orgmode] Re: Automatically insert inactive timestamps

2010-12-08 Thread Andrew J. Korty
Bernt Hansen wrote: (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp) Using org-insert-heading-hook is more elegant than my way, but I only want timestamps on TODO entries, so I use #+begin_src emacs-lisp (defadvice org-insert-todo-heading (after ajk/org-time-stamp-ne

[Orgmode] Re: Automatically insert inactive timestamps

2010-12-07 Thread Bernt Hansen
Julian Burgos writes: > This is the newbie question of the day.  I would like to get an inactive time > stamp automatically in each new > entry in org mode. Could somebody explain me how to do this? Hi Julian, Here is what I use in my setup: Creating new headlines insert inactive timestamps a