emacs "hangs" in haskell mode

Konst Sushenko konsu@Exchange.Microsoft.com
Tue, 5 Nov 2002 21:45:41 -0800


This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C28557.BDD1DB5B"

------_=_NextPart_001_01C28557.BDD1DB5B
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

hello,
=20
when i press C-c C-l to load my file into ghci, emacs stops responding.
task manager shows ghc.exe process running, so it happens some time
after the ghci buffer is created.
=20
my setup:
=20
- emacs on windows xp, version 21.1.1
- GHC package version 5.04.1
- haskell editing mode version 1.43
- relevant .emacs lines:
=20
(add-to-list 'load-path "c:/programs/emacs-21.1/site-lisp/haskell-mode")
(add-to-list 'auto-mode-alist '("\\.hs$" . haskell-mode))
(add-to-list 'auto-mode-alist '("\\.lhs$" . literate-haskell-mode))
=20
(autoload 'haskell-mode "haskell-mode")
(autoload 'literate-haskell-mode "haskell-mode")
=20
(setq haskell-ghci-program-name "c:/ghc/ghc-5.04.1/bin/ghci.exe")
=20
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-font-lock)
(add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)

=20
would appreciate any help!
=20
konst

------_=_NextPart_001_01C28557.BDD1DB5B
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2>hello,</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV><SPAN =
class=3D955573705-06112002><FONT>
<DIV><FONT face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D955573705-06112002>when i=20
press C-c C-l to load my file into ghci, emacs stops responding. =
</SPAN><SPAN=20
class=3D955573705-06112002>task manager shows ghc.exe process running, =
so it=20
happens some time after the ghci buffer is =
created.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>my=20
setup:</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D955573705-06112002>-=20
</SPAN>emacs on windows xp, version =
21.1.1</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>- GHC=20
package version 5.04.1</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>- haskell=20
editing mode version 1.43</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>- relevant=20
.emacs lines:</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>(add-to-list=20
'load-path =
"c:/programs/emacs-21.1/site-lisp/haskell-mode")<BR>(add-to-list=20
'auto-mode-alist '("<A href=3D"file://\\.hs$">\\.hs$</A>" .=20
haskell-mode))<BR>(add-to-list 'auto-mode-alist '("<A=20
href=3D"file://\\.lhs$">\\.lhs$</A>" . =
literate-haskell-mode))</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>(autoload=20
'haskell-mode "haskell-mode")<BR>(autoload 'literate-haskell-mode=20
"haskell-mode")</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>(setq=20
haskell-ghci-program-name =
"c:/ghc/ghc-5.04.1/bin/ghci.exe")</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>(add-hook=20
'haskell-mode-hook 'turn-on-haskell-decl-scan)<BR>(add-hook =
'haskell-mode-hook=20
'turn-on-haskell-doc-mode)<BR>(add-hook 'haskell-mode-hook=20
'turn-on-haskell-font-lock)<BR>(add-hook 'haskell-mode-hook=20
'turn-on-haskell-ghci)<BR>(add-hook 'haskell-mode-hook=20
'turn-on-haskell-indent)<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002></SPAN><SPAN=20
class=3D955573705-06112002></SPAN><SPAN =
class=3D955573705-06112002></SPAN><SPAN=20
class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New" =
size=3D2>would=20
appreciate any help!</FONT></SPAN></DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D955573705-06112002><FONT face=3D"Courier New"=20
size=3D2>konst</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C28557.BDD1DB5B--

--------------InterScan_NT_MIME_Boundary--