[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [patch] org-id: New org-id-method 'uuid' w/ elisp function
From: |
David Maus |
Subject: |
Re: [Orgmode] [patch] org-id: New org-id-method 'uuid' w/ elisp function that creates random uuid |
Date: |
Sat, 08 May 2010 16:14:17 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Carsten Dominik wrote:
>what is the difference/advantage of this idea over using uuidgen as
>Org does now?
Well, it allows uuids without depending on the presence of the uuidgen
binary. E.g. I happen to occasionally use computers I have no control
of and carry my Emacs/Org configuration with me.
Without the elisp function the ID properties of my headlines are in an
inconsistent format depending on whether uuidgen was present on the
machine I created the ID property or not.
It may be a little pedantic but I'd like to be specific in what format
the IDs have and like the idea of having IDs that follow an
established standard.
Maybe another usage of the function could be:
- org-id-method can be 'org for Org's id mechanism or 'uuid for uuids
- `org-id-new' uses uuidgen if present and falls back to the elisp
function otherwise
Regards,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpavgrgcHOhy.pgp
Description: PGP signature