all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [babel] unnecessary loading of info files?
Date: Wed, 10 Feb 2010 22:45:47 +0000	[thread overview]
Message-ID: <87ljf0k8v8.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87pr4dggab.fsf@stats.ox.ac.uk>

On Wed, 10 Feb 2010 12:19:08 -0500, Dan Davison <davison@stats.ox.ac.uk> wrote:
> 
> 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?

Hi Dan,

I am using a Debian testing/unstable mix on the netbook and the info
files are from:

,----
| $ dpkg --search python2.5-lib.info.gz
| python2.5-doc: /usr/share/info/python2.5-lib.info.gz
`----

Strange that the info files are not in the 2.6 version.

I may simply remove this package as I don't use python much and, even
when I do, I can wait until I'm at one of my desktop systems to read
the documentation...

Thanks,
eric

      reply	other threads:[~2010-02-10 22:45 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
2010-02-10 22:45   ` Eric S Fraga [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ljf0k8v8.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.