emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* iCal Export UID only Headline
@ 2009-07-30 19:55 David A. Gershman
  2009-08-03 14:08 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: David A. Gershman @ 2009-07-30 19:55 UTC (permalink / raw)
  To: Org-Mode List


Hello,

I just attempted to export my agenda as an .ics and found an entry
scheduled for only Monday when I have dates in my org file for all 5
days of the week.  My org file has:

**** Plan Tomorrow
     <2009-06-15 Mon 17:00-18:00 +1w>
     <2009-06-16 Tue 17:00-18:00 +1w>
     <2009-06-17 Wed 17:00-18:00 +1w>
     <2009-06-18 Thu 17:00-18:00 +1w>
     <2009-06-19 Fri 17:00-18:00 +1w>

This results in the "Plan Tomorrow" entry in the agenda for all 5 days.
 However, when exporting to .ics, all of these are exported BUT they
have the same UID.  As a result, my Calendar Program (Mozilla Lightning
via Thunderbird) considers them errors.

So I changed the Org-Tree to:
**** Plan Tomorrow
     <2009-06-15 Mon 17:00-18:00 +1w>
**** Plan Tomorrow
     <2009-06-16 Tue 17:00-18:00 +1w>
**** Plan Tomorrow
     <2009-06-17 Wed 17:00-18:00 +1w>
**** Plan Tomorrow
     <2009-06-18 Thu 17:00-18:00 +1w>
**** Plan Tomorrow
     <2009-06-19 Fri 17:00-18:00 +1w>

And when I export to .ics, this is what I get for the UID properties:

**** Plan Tomorrow
     :PROPERTIES:
     :ID:      
0aegncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
     :END:
     <2009-06-15 Mon 17:00-18:00 +1w>
**** Plan Tomorrow
     :PROPERTIES:
     :ID:      
gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
     :END:
     <2009-06-16 Tue 17:00-18:00 +1w>
**** Plan Tomorrow
     :PROPERTIES:
     :ID:      
gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
     :END:
     <2009-06-17 Wed 17:00-18:00 +1w>
**** Plan Tomorrow
     :PROPERTIES:
     :ID:      
gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
     :END:
     <2009-06-18 Thu 17:00-18:00 +1w>
**** Plan Tomorrow
     :PROPERTIES:
     :ID:      
472hncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
     :END:
     <2009-06-19 Fri 17:00-18:00 +1w>

Notice the "UID" is the same for T, W, & Th.  

Ideas?

----------------------------------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iCal Export UID only Headline
  2009-07-30 19:55 iCal Export UID only Headline David A. Gershman
@ 2009-08-03 14:08 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-08-03 14:08 UTC (permalink / raw)
  To: David A. Gershman; +Cc: Org-Mode List

Hi David,

this is a very interesting problem.

Apparently you are using

     (setq org-id-method 'org)

This method uses a compact encoding of the current time, to
microsecond accuracy, as part of the UID.  The fact that some
of the IDs you get are the same could mean that you are using
a very fast machine that parses several entries in the same
microsecond.  However, the large jump in the ID after the constant
period seems to indicate that maybe your system does not
communicate microsecond accurate time to Emacs.

One way out would be to switch to uuidgen for ID creation, maybe
that behaves better on your system?

- Carsten

On Jul 30, 2009, at 9:55 PM, David A. Gershman wrote:

>
> Hello,
>
> I just attempted to export my agenda as an .ics and found an entry
> scheduled for only Monday when I have dates in my org file for all 5
> days of the week.  My org file has:
>
> **** Plan Tomorrow
>     <2009-06-15 Mon 17:00-18:00 +1w>
>     <2009-06-16 Tue 17:00-18:00 +1w>
>     <2009-06-17 Wed 17:00-18:00 +1w>
>     <2009-06-18 Thu 17:00-18:00 +1w>
>     <2009-06-19 Fri 17:00-18:00 +1w>
>
> This results in the "Plan Tomorrow" entry in the agenda for all 5  
> days.
> However, when exporting to .ics, all of these are exported BUT they
> have the same UID.  As a result, my Calendar Program (Mozilla  
> Lightning
> via Thunderbird) considers them errors.
>
> So I changed the Org-Tree to:
> **** Plan Tomorrow
>     <2009-06-15 Mon 17:00-18:00 +1w>
> **** Plan Tomorrow
>     <2009-06-16 Tue 17:00-18:00 +1w>
> **** Plan Tomorrow
>     <2009-06-17 Wed 17:00-18:00 +1w>
> **** Plan Tomorrow
>     <2009-06-18 Thu 17:00-18:00 +1w>
> **** Plan Tomorrow
>     <2009-06-19 Fri 17:00-18:00 +1w>
>
> And when I export to .ics, this is what I get for the UID properties:
>
> **** Plan Tomorrow
>     :PROPERTIES:
>     :ID:
> 0aegncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
>     :END:
>     <2009-06-15 Mon 17:00-18:00 +1w>
> **** Plan Tomorrow
>     :PROPERTIES:
>     :ID:
> gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
>     :END:
>     <2009-06-16 Tue 17:00-18:00 +1w>
> **** Plan Tomorrow
>     :PROPERTIES:
>     :ID:
> gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
>     :END:
>     <2009-06-17 Wed 17:00-18:00 +1w>
> **** Plan Tomorrow
>     :PROPERTIES:
>     :ID:
> gmqgncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
>     :END:
>     <2009-06-18 Thu 17:00-18:00 +1w>
> **** Plan Tomorrow
>     :PROPERTIES:
>     :ID:
> 472hncd1dpe0@XXXXX.i-did-not-set--mail-host-address--so-tickle-me
>     :END:
>     <2009-06-19 Fri 17:00-18:00 +1w>
>
> Notice the "UID" is the same for T, W, & Th.
>
> Ideas?
>
> ----------------------------------------
> David A. Gershman
> gershman@dagertech.net
> http://dagertech.net/gershman/
> "It's all about the path!" --d. gershman
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-03 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-30 19:55 iCal Export UID only Headline David A. Gershman
2009-08-03 14:08 ` Carsten Dominik

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).