On 7 November 2013 01:40, von Hercynius <[email protected]> wrote: > This is what I have high in my .emacs: > > ;; load package.elc > (require 'package) > (add-to-list 'package-archives '("marmalade" . > "http://marmalade-repo.org/packages/") t) > (package-initialize) > > (add-to-list 'package-archives '("melpa" . > "http://melpa.milkbox.net/packages/") t) > (package-initialize)
I wouldn't have the (package-initialize) twice, just once either at the beginning or the end. So once you've started a new emacs session you should be able to open a .hs file and have it in haskell-mode. > > I assume this "activates", (loads) everything in my ~/.emacs.d/elpa/ > directory recursively, including everything in > ~/.emacs.d/elpa/haskell-mode-20131013.1146/ which has, among many others, > haskell-mode-autoloads.el? So, then what additional stuff do I need in my > .emacs? > > > On Wed, Nov 6, 2013 at 12:42 AM, Ivan Lazar Miljenovic > <[email protected]> wrote: >> >> On 6 November 2013 17:16, Kirill Zaborsky <[email protected]> wrote: >> > Maybe >> > https://github.com/haskell/haskell-mode/blob/master/examples/init.el >> > could help you here? >> >> This won't help if haskell-mode itself isn't being loaded; it's just a >> starter at how to configure it. The haskell-mode-autoloads.el file is >> what actually associates haskell-mode with .hs files, etc. >> >> > >> > Kind regards, >> > Kirill Zaborsky >> > >> > >> > 2013/11/6 von Hercynius <[email protected]> >> >> >> >> I've just "installed" haskell-mode via package. Now I have a >> >> ~/.emacs.d/elpa/haskell-mode-20131013.1146/ directory. So what lines do >> >> I >> >> have to put into my .emacs to use haskell-mode? >> >> >> >> _______________________________________________ >> >> Haskellmode-emacs mailing list >> >> [email protected] >> >> http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs >> >> >> > >> > >> > _______________________________________________ >> > Haskellmode-emacs mailing list >> > [email protected] >> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs >> > >> >> >> >> -- >> Ivan Lazar Miljenovic >> [email protected] >> http://IvanMiljenovic.wordpress.com > > -- Ivan Lazar Miljenovic [email protected] http://IvanMiljenovic.wordpress.com _______________________________________________ Haskellmode-emacs mailing list [email protected] http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
