emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: observations on updating to recent org
Date: Wed, 23 Apr 2014 18:16:11 +0200	[thread overview]
Message-ID: <87bnvsm378.fsf@gmail.com> (raw)
In-Reply-To: <rmizjjcujkp.fsf@fnord.ir.bbn.com> (Greg Troxel's message of "Wed, 23 Apr 2014 11:55:18 -0400")

Hello,

Greg Troxel <gdt@ir.bbn.com> writes:

> I timed this.  With 6161 lines in 14 org-mode files (about 2175 of which
> are due to PROPERTIES/ID/END), doing a combined export took 88s of cpu
> time.   emacs-23.4.1, NetBSD 6, i386, plenty of RAM, Core i5 2.9 GHz.
> In contrast, starting up emacs and generating the agenda took 0.97s.

You may want to use ELP to instrument Org and report where most time is
spent.

> I noticed that TODO entries got exported multiple times, apparently once
> for each inactive timestamp.  (I realize I need to prepare a minimal
> example.)

This is to be expected. Each plain timestamp defines a new VEVENT block.

By default, it shouldn't do this for inactive timestamps, though. See
`org-icalendar-with-timestamps'.

> Thanks for the comments; I see the point that this is hard..  For now,
> I've just turned off uid storing, because I don't sync the exported
> calendar, and I'll nuke the ID entries and properties drawers at some
> point; I find them distracting when editing.

Note that UID storing is off by default.

> I wonder if there's some way to go back and store the UID when it
> actually needs to be generated, so that UIDs are only stored for entries
> that actually have been exported.

This is not really possible without some sacrifices (which Bastien may
or may not want to do).  See other messages in this thread.

Also, since you don't need UID anyway, why is that a problem anymore?
I'm a bit confused here.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-04-23 16:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 17:43 observations on updating to recent org Greg Troxel
2014-04-23  6:16 ` Bastien
2014-04-23  7:47   ` Nicolas Goaziou
2014-04-23  8:17     ` Bastien
2014-04-23 11:58       ` Nicolas Goaziou
2014-05-06  9:22         ` Bastien
2014-04-23 15:55 ` Greg Troxel
2014-04-23 16:16   ` Nicolas Goaziou [this message]
2014-04-23 16:25     ` Greg Troxel
2014-04-23 16:59       ` Nicolas Goaziou
2014-04-23 19:44         ` Nicolas Goaziou
2014-04-24 12:20           ` Greg Troxel

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=87bnvsm378.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gdt@ir.bbn.com \
    /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).