emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] unnecessary loading of info files?
@ 2010-02-10  9:21 Eric S Fraga
  2010-02-10 17:19 ` Dan Davison
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2010-02-10  9:21 UTC (permalink / raw)
  To: org-mode mailing list

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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] unnecessary loading of info files?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Davison @ 2010-02-10 17:19 UTC (permalink / raw)
  To: e.fraga; +Cc: org-mode mailing list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] unnecessary loading of info files?
  2010-02-10 17:19 ` Dan Davison
@ 2010-02-10 22:45   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2010-02-10 22:45 UTC (permalink / raw)
  To: Dan Davison; +Cc: org-mode mailing list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-10 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).