Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156753 - dev-util/mercurial: mercurial.el/emacs support needs tuning
Summary: dev-util/mercurial: mercurial.el/emacs support needs tuning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 21:09 UTC by Matthew Kennedy (RETIRED)
Modified: 2007-02-14 22:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2006-11-30 21:09:10 UTC
Firstly, install mercurial into /usr/share/emacs/site-lisp/mercurial/, not /usr/share/emacs/site-lisp/.  That way it will conform to what all the other emacs ebuilds do.

Secondly, the 70mercurial-gentoo.el site file needs fixing.  Currently it calls (load "mercurial").  This is an expensive operation to do from a site wide init file especially since mercurial.el loads several other libraries.  Instead, don't load it.  The 70mercurial-gentoo.el should contain the following only:

   (add-to-list 'load-path "@SITELISP@")

If it came with any autoloads, you'd add those to the site file as well, but it doesn't.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-14 22:39:20 UTC
Fixed