From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [patch] org-id: New org-id-method 'uuid' w/ elisp function that creates random uuid Date: Sat, 15 May 2010 09:02:35 +0200 Message-ID: <8B270AAC-10B3-40A8-B7C9-682308DEBD6F@gmail.com> References: <874oijaeni.wl%dmaus@ictsoc.de> <87EC457F-92D2-404E-AD87-B8AA1C73723F@gmail.com> <87aasa7a6e.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=50340 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODBOU-0006Ro-8W for emacs-orgmode@gnu.org; Sat, 15 May 2010 03:02:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODBOS-0001ns-Kn for emacs-orgmode@gnu.org; Sat, 15 May 2010 03:02:41 -0400 Received: from ey-out-1920.google.com ([74.125.78.147]:53498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODBOS-0001nm-Dr for emacs-orgmode@gnu.org; Sat, 15 May 2010 03:02:40 -0400 Received: by ey-out-1920.google.com with SMTP id 13so398487eye.34 for ; Sat, 15 May 2010 00:02:39 -0700 (PDT) In-Reply-To: <87aasa7a6e.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: org-mode 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