Try the following:

1) M-x toggle-debug-on-quit (so that it's enabled)

2) Follow your instructions below

3) When it's stuck, do C-g to stop it trying to load the file.

Just so you know, there's also a dedicated mailing list for the Haskell
mode in Emacs; see here for more information:
http://projects.haskell.org/haskellmode-emacs/

aditya siram <aditya.si...@gmail.com> writes:

> Hi all,
> I have a reproducible bug in Emacs' Haskell mode where Emacs gets
> stuck in an endless loop. I am using GNU Emacs 23.0.93.1. To
> reproduce:
> 1. Use a bad Language pragma eg.
> {-# LANGUAGE FlexibleTypes #-}
> 2. Load a GHCI instance with C-c C-l. GHCI outputs the following error:
>     unsupported extension: FlexibleTypes
> 3. Fix the pragma:
> {-# FlexibleInstances -#}
> 4. Try to load the file again with C-c C-l and Emacs gets stuck.
>
> -deech
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to