emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] evaluating ledger source block now scans large number of org files
Date: Fri, 01 Jul 2011 12:11:08 -0700	[thread overview]
Message-ID: <877h81n4i7.fsf@gmail.com> (raw)
In-Reply-To: 87pqlupdwd.fsf@ucl.ac.uk

Hi Eric,

Thanks for pointing this out.  IDs can be used to resolve code block
references, however it appears that the `org-id-goto' function is
attempting to re-scan all ID locations when a reference is not found.
I've just pushed up a patch which side-steps this rescanning behavior.

Best -- Eric

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Hello,
>
> I don't know what has changed or when but, being the start of a new
> month, I am doing my finances.  I use ledger for this and, of course,
> within org!
>
> Evaluating a ledger source code block now takes a significant amount of
> time.  Babel seems to search org files throughout my disk for IDs.  I
> get messages like this:
>
> ,----
> | ...
> | Finding ID locations (13/65 files): ~/git/notes/personal.org
> | Finding ID locations (14/65 files): ~/git/notes/research.org
> | Finding ID locations (15/65 files): ~/git/notes/tasks.org
> | ...
> `----
>
> I am using ":noweb yes" but otherwise I cannot see why org + babel need
> to scan files throughout the disk?
>
> A minimal example that exhibits this behaviour is attached.  Evaluating
> the second code block generates the lines shown above.  Evaluating the
> first block does not which is why I think this may have something to do
> with :noweb.
>
> Up to date org (see signature below).
>
> thanks,
> eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2011-07-01 20:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01  9:07 [babel] evaluating ledger source block now scans large number of org files Eric S Fraga
2011-07-01 19:11 ` Eric Schulte [this message]
2011-07-03 18:13   ` 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=877h81n4i7.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --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).