emacs-orgmode
[Top][All Lists]
Advanced

[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: Carsten Dominik
Subject: Re: [Orgmode] [patch] org-id: New org-id-method 'uuid' w/ elisp function that creates random uuid
Date: Sat, 15 May 2010 09:02:35 +0200


On May 8, 2010, at 4:14 PM, David Maus wrote:

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

I think it should be either uuidgen (for backward compatibility) or uuid.


- `org-id-new' uses uuidgen if present and falls back to the elisp
  function otherwise

I like that.  WOuld you like to modify your patch accordingly?

- Carsten




reply via email to

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