>>>>> "Johan" == Johan Tibell <[EMAIL PROTECTED]> writes:
>> > Emacs is completely frozen until I press C-g and then it goes back to >> > normal (without loading the file). Here's the back trace: >> >> > Debugger entered--Lisp error: (quit) >> > accept-process-output(#<process haskell>) >> > (and (not (re-search-forward comint-prompt-regexp nil t)) >> > (accept-process-output proc)) >> >> So it seems to be waiting for the prompt but can't find it. >> If you look at the buffer containing the interactive process, is there >> a prompt there? If not, can you try and figure out why not? >> If yes, can you try and figure out why it is not recognized by the >> comint-prompt-regexp? > I had the following in my .ghci to make GHCi's prompt less verbose: > :set prompt "> " > Removing that solves the problem. You can also add the following to your .emacs: (add-hook 'inferior-haskell-mode-hook (lambda () (set (make-local-variable 'comint-prompt-regexp) "^> "))) Or some fancier regexp (the default is "^\\*?[A-Z][\\._a-zA-Z0-9]*\\( \\*?[A-Z][\\._a-zA-Z0-9]*\\)*> "). Stefan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe