emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Esben Stien
Subject: [O] Insert UUID with org-insert-todo-heading
Date: Sun, 06 Apr 2014 20:21:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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 TODO entries"
  (mrb/insert-created-timestamp)
)
(ad-activate 'org-insert-todo-heading)

So, I get: 

**** TODO 
     :PROPERTIES:
     :CREATED:  [2014-04-06 sø. 20:11]
     :END:

Is there any way to insert a UUID as well?, like:

**** TODO 
     :PROPERTIES:
     :CREATED:  [2014-04-06 sø. 20:11]
     :UUID: 70f273b5-8bce-315f-6f31-6d9ec9a8b739
     :END:

Any pointers as to how I can achieve this?

-- 
Esben Stien is address@hidden     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n



reply via email to

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