From mboxrd@z Thu Jan 1 00:00:00 1970 From: Esben Stien Subject: Insert UUID with org-insert-todo-heading Date: Sun, 06 Apr 2014 20:21:18 +0200 Message-ID: <87a9byz5cx.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrhL-0008Jw-EK for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWrhD-0003Vp-Vt for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:21:39 -0400 Received: from nmsh2.e.nsc.no ([193.213.121.73]:39654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrhD-0003VQ-LI for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:21:31 -0400 Received: from quasar.esben-stien.name (cm-84.210.71.233.getinternet.no [84.210.71.233]) (authenticated bits=0) by nmsh2.nsc.no (8.14.7/8.14.7) with ESMTP id s36ILI6Z027232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NOT) for ; Sun, 6 Apr 2014 20:21:19 +0200 (MEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I'm using the following to have a CREATED field in the PROPERTIES field of a TODO:=20 ;; advice org-insert-todo-heading to insert a created timestamp using org-e= xpiry (defadvice org-insert-todo-heading (after mrb/created-timestamp-advice acti= vate) "Insert a CREATED property using org-expiry.el for TODO entries" (mrb/insert-created-timestamp) ) (ad-activate 'org-insert-todo-heading) So, I get:=20 **** TODO=20 :PROPERTIES: :CREATED: [2014-04-06 s=C3=B8. 20:11] :END: Is there any way to insert a UUID as well?, like: **** TODO=20 :PROPERTIES: :CREATED: [2014-04-06 s=C3=B8. 20:11] :UUID: 70f273b5-8bce-315f-6f31-6d9ec9a8b739 :END: Any pointers as to how I can achieve this? --=20 Esben Stien is b0ef@e s a=20=20=20=20=20=20=20=20=20=20=20=20=20 http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e=20 jid:b0ef@ n n