emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: UIDs in icalendar export (exporting my agenda)


From: Magnus Henoch
Subject: [Orgmode] Re: UIDs in icalendar export (exporting my agenda)
Date: Wed, 15 Jul 2009 20:43:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"aldrin d'souza" <address@hidden> writes:

> if you notice, the UIDs in both the events are same. aren't they supposed to 
> be
> different? when i import this file into an online calendar (like google) one 
> of
> the event is dropped.
> am i missing something? i'm using org 6.28trans on emacs 23.0.94.

My guess: you're running on a system where current-time always returns
zero micro-seconds (Windows?); try with M-: (current-time).  In the
ideal case the output in the echo area looks like (19038 12367 114552),
but yours is probably like (19038 12367 0).

Since you don't have the uuidgen utility installed, the function
`org-id-time-to-b36' is being called to generate the id, but since it's
called twice in the same second and depends on current-time, it returns
the same value twice.

So someone should make `org-id-time-to-b36' return unique values in this
case.  (Append a random number?)

Magnus





reply via email to

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