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