From: Carsten Dominik <carsten.dominik@gmail.com>
To: David Maus <dmaus@ictsoc.de>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: [patch] org-id: New org-id-method 'uuid' w/ elisp function that creates random uuid
Date: Sat, 8 May 2010 07:03:03 +0200 [thread overview]
Message-ID: <87EC457F-92D2-404E-AD87-B8AA1C73723F@gmail.com> (raw)
In-Reply-To: <874oijaeni.wl%dmaus@ictsoc.de>
Hi David,
what is the difference/advantage of this idea over using uuidgen as
Org does now?
Thanks.
- Carsten
On May 7, 2010, at 5:57 PM, David Maus wrote:
> 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
> <org-id-uuid-
> elisp.diff>_______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2010-05-08 5:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 15:57 [patch] org-id: New org-id-method 'uuid' w/ elisp function that creates random uuid David Maus
2010-05-08 5:03 ` Carsten Dominik [this message]
2010-05-08 14:14 ` David Maus
2010-05-15 7:02 ` Carsten Dominik
2010-05-16 9:14 ` David Maus
2010-05-16 9:39 ` Carsten Dominik
2010-05-16 14:16 ` David Maus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87EC457F-92D2-404E-AD87-B8AA1C73723F@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).