Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73172 - app-emacs/haskell-mode-2.0 ebuild
Summary: app-emacs/haskell-mode-2.0 ebuild
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
: 93727 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-02 14:41 UTC by Anders Höckersten
Modified: 2005-08-18 20:14 UTC (History)
4 users (show)

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


Attachments
the ebuild (haskell-mode-2.0.ebuild,729 bytes, text/plain)
2004-12-02 14:42 UTC, Anders Höckersten
Details
My haskell-mode-2.0.ebuild (haskell-mode-2.0.ebuild,621 bytes, text/plain)
2005-04-10 02:33 UTC, Mark Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Höckersten 2004-12-02 14:41:48 UTC
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
Comment 1 Anders Höckersten 2004-12-02 14:42:38 UTC
Created attachment 45174 [details]
the ebuild
Comment 2 andrea 2005-03-15 10:54:46 UTC
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
Comment 3 Mark Gilbert 2005-04-10 02:33:14 UTC
Created attachment 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?
Comment 4 Duncan Coutts (RETIRED) gentoo-dev 2005-05-23 12:56:24 UTC
*** Bug 93727 has been marked as a duplicate of this bug. ***
Comment 5 Andres Loeh (RETIRED) gentoo-dev 2005-08-09 09:07:35 UTC
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
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2005-08-18 20:14:29 UTC
Added to portage.