Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-22 Thread Wei Hu
I tried it out in Emacs, but ghci always displays some sort of garbage message. 
For example, when I ask for the value of 0, I get:
0^J0

Is it because ghci switched to libedit? I'm running Emacs-23 with haske-mode-
cvs on Debian unstable.


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-22 Thread Wei Hu
Judah Jacobson judah.jacobson at gmail.com writes:

 Do you have the libedit-dev package installed?  If not, the editline
 backend may not have been built.  You can check whether it was built
 by running ghci from a command prompt and checking whether the arrow
 keys work.
 
 -Judah
 

I forgot to mention that I was running the binary package -- didn't bother to 
build ghc from source. Because the binary package relies on libedit.so.0 and 
Debian only comes with libedit2, I created a symbolic link for libedit.so.0 
pointing to libedit.so.2. Could that be a problem for Emacs? But the libedit 
backend works fine when running ghci from a command line.

Thanks,
Wei


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users