emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: e.fraga@ucl.ac.uk
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [babel] unnecessary loading of info files?
Date: Wed, 10 Feb 2010 12:19:08 -0500	[thread overview]
Message-ID: <87pr4dggab.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <877hqlo398.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 10 Feb 2010 09:21:07 +0000")

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

> Hi,
>
> recently (not sure exactly when) I have noticed that, for some reason,
> the python info files are loaded by Emacs when initialising org-babel
> specifically (I think) when loading org-babel-python.  I get messages
> of the form:
>
> ,----
> | uncompressing python2.5-lib.info.gz...done
> `----
>
> On my netbook, this is rather annoying as it slows down the
> initialisation of Emacs significantly.  I don't understand why the
> info files are necessary for org-babel?

Hi Eric,

They aren't, but perhaps they are loaded when we (require 'python)?  If
so then I guess it's out of babel's control; maybe a partial solution
would be to not activate python as a babel langage until necessary
(maybe by adding (require 'org-babel-python) to an appropriate hook?).

On my ubuntu 9.10 netbook I don't seem to have any the python info files
even after installing python2.6-doc. Are you using a debian-based linux
system and if so could you tell me how to install the python info files
so that I can investigate?

Dan

>
> I'm happy to do some debugging if necessary but I thought I'd email
> this now in case it's something trivial for the code authors...
>
> Thanks,
> eric
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-02-10 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10  9:21 [babel] unnecessary loading of info files? Eric S Fraga
2010-02-10 17:19 ` Dan Davison [this message]
2010-02-10 22:45   ` 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=87pr4dggab.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --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).