emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Samuel Loury <konubinix@gmail.com>
Cc: emacs-orgmode@gnu.org, James Harkins <jamshark70@qq.com>
Subject: Re: Repeated teaching classes and stopping date
Date: Thu, 13 Nov 2014 10:09:31 +0000	[thread overview]
Message-ID: <87lhnf76p0.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <871tp74ic2.fsf@konixwork.incubateur.ens-lyon.fr> (Samuel Loury's message of "Thu, 13 Nov 2014 09:26:21 +0100")

On Thursday, 13 Nov 2014 at 09:26, Samuel Loury wrote:

[...]

> I like the idea of `org-clone-subtree-with-time-shift', but wouldn't it
> make the parsing of the files slower?

Maybe but O(n)...  I doubt it would make much difference in practice
compared with parsing a complex date structure.

> I admit that in the example, this would not have a big impact since
> there would be only 9 entries. Nevertheless, I wonder if this can be
> considered as a general solution.

It's a solution that works well for the reasons given by others.  I use
it for all of my lectures and it turns out better than a single repeat
directive would because you can annotate each instance separately, not
to mention being able to easily remove lectures that might be cancelled
or change ones that may have a different location or time.  Etc.

> In my org files that sum up to 51425 lines (not taking into account the
> archives), the creation of the agendas takes minutes to generate. There

Minutes!  What version of org and what kind of system?

I have >35k lines in my org agenda files and generating an agenda on a 5
year old system takes seconds.  On my wee Pandora, it takes a minute or
so but this is a very slow system with slow SD cards...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-558-g83d8a2

  reply	other threads:[~2014-11-13 10:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 17:21 Repeated teaching classes and stopping date Xavier Garrido
2014-11-10 17:37 ` Rasmus
2014-11-11  8:07   ` Xavier Garrido
2014-11-11 11:06     ` Rasmus
2014-11-11 13:56     ` Karl Voit
2014-11-12  2:03   ` James Harkins
2014-11-13  8:26     ` Samuel Loury
2014-11-13 10:09       ` Eric S Fraga [this message]
2014-11-13 10:44         ` Samuel Loury
2014-11-13 16:22           ` Eric S Fraga
2014-11-14  9:42             ` Samuel Loury
2014-11-14 11:32               ` Eric S Fraga

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=87lhnf76p0.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@qq.com \
    --cc=konubinix@gmail.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).