Attached patch for org-id adds a new function `org-id-uuid' that returns a random (version 4) uuid following the format and suggestions in RFC 4122: - it collects some random, system ans user specific data - creates a md5 hash for this data to obtain the require 32 octets - flips the correct bits to indicate a random uuid Using the elisp method to create a random uuid can be customized by setting `org-id-method' to 'uuid. In addition `org-id-new' throws an error when the call to `org-id-uuid-program' returns something that does not look like a uuid.[1] HTH -- David [1] Sorry, this should have been a patch on its own. -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de