emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to turn off UID-creation for non-exported ical items?
@ 2014-10-30 11:22 Kevin Brubeck Unhammer
  2014-10-30 15:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Brubeck Unhammer @ 2014-10-30 11:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Before upgrading to Emacs 24.4, I used org-caldav to sync my agenda with
OwnCloud. This of course requires stable UID's on the exported items, so
I have

    (setq org-icalendar-store-UID t)

Items which are not exported don't need UID's, and didn't seem to get
them before. But after upgrading, suddenly all my org entries get UID's,
which is very annoying. Is there a way to avoid UID's on non-exported
items?

I figured maybe org-icalendar-create-uid could check if
(org-element-property :deadline entry) or (org-element-property
:scheduled entry), but then I noticed there's no property for entries
such as


** Thing happens
   <2014-10-10 fr. 20:00>

so maybe to be sure only to-be-exported items get UID's, the creation
has to happen in org-export-data (after
org-export--populate-ignore-list), but at that point I'm not sure the
org-file can be safely altered. Does anyone have an idea how to fix
this?


-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

end of thread, other threads:[~2014-10-31 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 11:22 how to turn off UID-creation for non-exported ical items? Kevin Brubeck Unhammer
2014-10-30 15:51 ` Nicolas Goaziou

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