Initialization?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Nov 6 23:03:25 GMT 2013


On 7 November 2013 01:40, von Hercynius <hercynianforest at gmail.com> 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
> <ivan.miljenovic at gmail.com> wrote:
>>
>> On 6 November 2013 17:16, Kirill Zaborsky <qrilka at gmail.com> 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 <hercynianforest at gmail.com>
>> >>
>> >> 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
>> >> Haskellmode-emacs at projects.haskell.org
>> >> http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
>> >>
>> >
>> >
>> > _______________________________________________
>> > Haskellmode-emacs mailing list
>> > Haskellmode-emacs at projects.haskell.org
>> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
>> >
>>
>>
>>
>> --
>> Ivan Lazar Miljenovic
>> Ivan.Miljenovic at gmail.com
>> http://IvanMiljenovic.wordpress.com
>
>



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Haskellmode-emacs mailing list