emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "David A. Gershman" <dagershman_dgt@dagertech.net>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: iCal Export UID only Headline
Date: Mon, 3 Aug 2009 16:08:56 +0200	[thread overview]
Message-ID: <6CEFCC93-206D-4F79-AE2E-95D55260090E@gmail.com> (raw)
In-Reply-To: <20090730195516.BA7B0320056@mail.dagertech.net>

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

      reply	other threads:[~2009-08-03 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 19:55 iCal Export UID only Headline David A. Gershman
2009-08-03 14:08 ` Carsten Dominik [this message]

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=6CEFCC93-206D-4F79-AE2E-95D55260090E@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dagershman_dgt@dagertech.net \
    --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).