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

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