Re: [O] Insert UUID with org-insert-todo-heading

2014-04-07 Thread Esben Stien
John Kitchin jkitc...@andrew.cmu.edu writes: this kind of does what you want: Hehe, that's really great;). Thanks a bunch. -- Esben Stien is b0ef@e s a http://www. s tn m irc://irc. b - i . e/%23contact sip:b0ef@ e e

[O] Insert UUID with org-insert-todo-heading

2014-04-06 Thread Esben Stien
I'm using the following to have a CREATED field in the PROPERTIES field of a TODO: ;; advice org-insert-todo-heading to insert a created timestamp using org-expiry (defadvice org-insert-todo-heading (after mrb/created-timestamp-advice activate) Insert a CREATED property using org-expiry.el for

Re: [O] Insert UUID with org-insert-todo-heading

2014-04-06 Thread John Kitchin
this kind of does what you want: #+BEGIN_SRC emacs-lisp (require 'org-id) (add-hook 'org-insert-heading-hook #'(lambda () (org-entry-put (point) UUID (org-id-uuid #+END_SRC at least it works if you use the menu to insert a new heading. it does not work if you type the