Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73926 - haskell-mode does not install itself properly site-wide
Summary: haskell-mode does not install itself properly site-wide
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 11:12 UTC by jha
Modified: 2005-02-20 02:08 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 jha 2004-12-09 11:12:48 UTC
haskell-mode is not available to emacs after "emerge app-emacs/haskell-mode". This can be worked around by entering "M-X load-library /usr/share/emacs/site-lisp/50haskell-mode-gentoo.el", but haskell-mode should be available without this extra step.

Reproducible: Always
Steps to Reproduce:
1. emerge app-emacs/haskell-mode
2. emacs source.hs
3. try "M-X haskell-mode"

Actual Results:  
haskell-mode is not loaded, emacs says "[No match]" to the explicit load command


Expected Results:  
haskell-mode should have autoloaded (file end with .hs), "M-X haskell-mode"
should work
Comment 1 Luis Araujo (RETIRED) gentoo-dev 2005-01-19 20:25:47 UTC
Overview about this problem:

app-emacs/*-modes installations updates 
/usr/share/emacs/site-lisp/site-gentoo.el with the new settings
of the respective <number><language>-mode.el.

This makes available the configuration to all the users as long as they 
add (load "/usr/share/emacs/site-lisp/site-gentoo") to ~/.emacs 

Now, if it is intended to make it fully available to everyone and every 
emacs version by default, then instead of updating site-gentoo.el, it should 
update site-start.el. 

Though im aware there are many ways to handle this issue, 
i think that making a symlink from site-gentoo.el to site-start.el it is
a good option.

Cheers,
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-19 20:23:11 UTC
This is intended (to not screw up site-start.el) and will not be fixed.
You need to edit site-start.el manually to include site-gentoo.el.