Bug 73172 - app-emacs/haskell-mode-2.0 ebuild
|
Bug#:
73172
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: TEST-REQUEST
|
Assigned To: mkennedy@gentoo.org
|
Reported By: chucky@dtek.chalmers.se
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: app-emacs/haskell-mode-2.0 ebuild
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-02 14:41 0000
|
Attached is an ebuild for haskell-mode-2.0. It is based on the ebuild for
haskell-mode-1.44-r1. It has been tested with emacs-21.3-r5 on amd64.
Reproducible: Always
Steps to Reproduce:
none
Testing on ~x86 and emacs 21.4, it works but I don't understand why it doesn't
add haskell-mode hooks in site-gentoo.el as the previous script (that's nearly
the same) does...
Any ideas?
You can copy this to get it automatically loaded:
(setq load-path (cons "/usr/share/emacs/site-lisp/haskell-mode" load-path))
(setq auto-mode-alist
(append auto-mode-alist
'(("\\.[hg]s$" . haskell-mode)
("\\.hi$" . haskell-mode)
("\\.l[hg]s$" . literate-haskell-mode))))
(autoload 'haskell-mode "haskell-mode"
"Major mode for editing Haskell scripts." t)
(autoload 'literate-haskell-mode "haskell-mode"
"Major mode for editing literate Haskell scripts." t)
in your .emacs
Created an attachment (id=55841) [details]
My haskell-mode-2.0.ebuild
This differs slightly from the other one, gives me no trouble, and the einfo
about site-gentoo and autoinitialization explains clearly that to have
site-gentoo.el (which was hooked into perfectly by this ebuild, based on 1.45 -
haven't tested the other one) loaded for all users automatically, I must add a
line to site-start.el as described, and this too worked perfectly.
Do you still experience problems?
*** Bug 93727 has been marked as a duplicate of this bug. ***
The ebuild from #3 (which, afaics, is just the current 1.45 ebuild with
HOMEPAGE and SRC_URI changed) seems to work fine. Is there anything that keeps
this update from going into the tree?
Cheers,
ks