From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [babel] unnecessary loading of info files? Date: Wed, 10 Feb 2010 12:19:08 -0500 Message-ID: <87pr4dggab.fsf@stats.ox.ac.uk> References: <877hqlo398.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfGDh-00005G-5z for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 12:19:21 -0500 Received: from [199.232.76.173] (port=40803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfGDg-0008WA-Gy for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 12:19:20 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfGDc-0000Yd-1E for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 12:19:19 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:48058) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfGDb-0000Y4-21 for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 12:19:15 -0500 In-Reply-To: <877hqlo398.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 10 Feb 2010 09:21:07 +0000") 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: e.fraga@ucl.ac.uk Cc: org-mode mailing list 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? 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