Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196859

Summary: dev-python/ipython-0.8.1: fix Emacs site-init file
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: emacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174469    
Attachments: 62ipython-gentoo.el

Description Ulrich Müller gentoo-dev 2007-10-23 23:58:07 UTC
The Emacs site-init file that comes with ipython causes significant overhead at Emacs startup:
- It contains an unconditional "require" statement that will load ipython.el
- ipython.el will then load the (large) common-lisp library, plus other files

It would be desirable to postpone loading of ipython.el until it is first needed, which is after python-mode is loaded. For further details, see <http://overlays.gentoo.org/proj/emacs/wiki/sitefile%20problems>.

A new site-init file will be attached.
Comment 1 Ulrich Müller gentoo-dev 2007-10-23 23:59:21 UTC
Created attachment 134201 [details]
62ipython-gentoo.el

New Emacs site-init file, goes to $FILESDIR.
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2007-10-24 17:22:15 UTC
ipython-0.8.1-r1 fixes this, thanks for reporting :)