From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] unnecessary loading of info files? Date: Wed, 10 Feb 2010 22:45:47 +0000 Message-ID: <87ljf0k8v8.wl%ucecesf@ucl.ac.uk> References: <877hqlo398.wl%ucecesf@ucl.ac.uk> <87pr4dggab.fsf@stats.ox.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfLJl-0005Lk-0c for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:45:57 -0500 Received: from [199.232.76.173] (port=55154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfLJk-0005LY-Lo for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:45:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfLJi-00082Q-Bw for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:45:56 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:35339) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfLJh-00081u-VV for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:45:54 -0500 In-Reply-To: <87pr4dggab.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: org-mode mailing list On Wed, 10 Feb 2010 12:19:08 -0500, Dan Davison wrote: > > Eric S Fraga 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