From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: emacs-orgmode@gnu.org
Subject: how to turn off UID-creation for non-exported ical items?
Date: Thu, 30 Oct 2014 12:22:30 +0100 [thread overview]
Message-ID: <878ujxkdjd.fsf@fsfe.org> (raw)
[-- 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 --]
next reply other threads:[~2014-10-30 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 11:22 Kevin Brubeck Unhammer [this message]
2014-10-30 15:51 ` how to turn off UID-creation for non-exported ical items? Nicolas Goaziou
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=878ujxkdjd.fsf@fsfe.org \
--to=unhammer@fsfe.org \
--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).