RPM Packages for Emacs Haskell Mode

I have packaged haskell-mode for easy installation on Red Hat Linux and similar systems. Once you install the package, there will be no need to modify your .emacs file in order to use the features of haskell-mode -- they will be enabled by default when you start Emacs.

One thing you might want to change, however, is the Haskell interpreter that is used for interactive Haskell features. Hugs is the default. If you wish to use GHCi instead, add the following to your .emacs file:

    ; use GHCi mode instead of Hugs mode
    (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci t)

Binary RPM for Red Hat Linux 7.x

emacs-haskell-mode-1.43-4align.noarch.rpm (44 kB)

This package was built under Emacs 21. If you have problems running it under another flavor of Emacs, download the Source RPM below and rebuild it. Usually, however, this package should be all your need.

Source RPM

To rebuild a Binary RPM from the Source RPM, follow this simple procedure:

  1. Download the source RPM package: emacs-haskell-mode-1.43-4align.src.rpm (65 kB)
  2. If you don't have a local environment for building RPMs, create one using the following (bash shell) commands:
    $ echo %_topdir ~/rpm > ~/.rpmmacros
    $ mkdir ~/rpm/RPMS/noarch
  3. Build a binary RPM file from the source RPM file:
    $ rpm --rebuild emacs-haskell-mode-1.43-4align.src.rpm
The resulting binary RPM file will be located in the ~/rpm/RPMS/noarch directory.

RPM Spec File

emacs-haskell-mode.spec (5 kB)

If you add the above RPM spec file to the haskell-mode distribution tarball, you should be able to rebuild the RPMs directly from the tarball by using the following command:

$ rpm -ta haskell-mode-1.42.tar.gz
This file is mainly useful for developers of RPM packages and the maintainers of the haskell-mode tarballs.


If you have any questions, please email them to tom-rpms@moertel.com.



Moertel Consulting