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

Bug 166296

Summary: app-emacs/haskell-mode-2.2 missing installation guide
Product: Gentoo Linux Reporter: Ivan <Ivan.Miljenovic>
Component: New packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan 2007-02-11 04:39:34 UTC
After emerging, app-emacs/haskell-mode-2.2, the message says to look at /usr/share/doc/haskell-mode-2.2/html/installation-guide.html, however this document does not exist (there is, however, an index.html file).
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-11 09:46:02 UTC
Fixed, thanks
Comment 2 Ivan 2007-02-12 09:52:02 UTC
I contacted the maintainer of haskell-mode about the installation guide issue and some others, and here's the relevant replies.  I don't know if you'll want to use the work-arounds or else to wait till upstream to fix it (I've reverted back to 2.1 for the time being).

> 1) There is no installation guide with the release (or at least I  couldn't
> find it), and so I've kept the same details as from 2.1 in my  .emacs file.

It's called README.

> 2) When I load up a (literate) haskell file, emacs complains saying

>     File mode specification error: (error "Unknown keyword :trype")

Yes, a typo.  Replace the ":trype" to ":type" in haskell-indent.el.

> 4) When I try and load the file into the haskell bugger, the following
> error message comes up:

>     inferior-haskell-load-file: Invalid function: (macro . #[(win &rest body)
>     "\302\303^HD BB\207" [win body save-selected-window select-window] 3])

Oh, I think I see what's going on.  Thanks for the bug-report.
In the mean time, just remove inf-haskell.elc (i.e. use the
non-byte-compiled code instead), it should work around this bug.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-13 12:28:02 UTC
(In reply to comment #2)
> I contacted the maintainer of haskell-mode about the installation guide issue
> and some others, and here's the relevant replies.  I don't know if you'll want
> to use the work-arounds or else to wait till upstream to fix it (I've reverted
> back to 2.1 for the time being).

 Ok, I changed the installation hint to README and masked the current version.  I wait for a a newer upstream version.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-13 12:40:11 UTC
Done