GHC-6.0: Open with ... bug (again!)
Calle Lejdfors
calle.lejdfors@cs.lth.se
Thu, 12 Jun 2003 09:02:22 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0036_01C330C1.55B73FC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Oops! Sorry about that ;-). It works with '/' but not '\' of course. My =
mistake.
/Calle
----- Original Message -----=20
From: Sigbjorn Finne=20
To: Calle Lejdfors=20
Cc: glasgow-haskell-users@haskell.org=20
Sent: Wednesday, June 11, 2003 6:25 PM
Subject: Re: GHC-6.0: Open with ... bug (again!)
That's good to hear -- :load works as expected for me:
Prelude> :load "c:/Program Files/Haskell/Mod1.hs" "c:/Program =
Files/Haskell/Mod2.hs"
Compiling Mod1 (....)
Compiling Mod2 (....)
Ok, modules loaded: Mod1, Mod2.
Prelude>
--sigbjorn
----- Original Message -----=20
From: Calle Lejdfors=20
To: Sigbjorn Finne=20
Cc: glasgow-haskell-users@haskell.org=20
Sent: Wednesday, June 11, 2003 00:01
Subject: Re: GHC-6.0: Open with ... bug (again!)
Hi.
Thanks! It seems to work correctly now. However it does not appear =
to work when loading via :load on the GHCi prompt. It would be nice to =
get this to work as it would (probably) enable me to run haskell-mode =
with ghci interaction through emacs under windows.
Thanks, Calle
----- Original Message -----=20
From: Sigbjorn Finne=20
To: Calle Lejdfors=20
Cc: glasgow-haskell-users@haskell.org=20
Sent: Tuesday, June 10, 2003 6:14 PM
Subject: Re: GHC-6.0: Open with ... bug (again!)
Hi there,
thanks for the report on an issue I thought had been properly =
resolved,
but alas not. The updated Windows installer that was published =
last Monday
does include a fix for the issue. I'm guessing you spotted that, =
but I didn't
want to leave your report un-replied to in the e-mail archives.
hth
--sigbjorn
----- Original Message -----=20
From: Calle Lejdfors=20
To: glasgow-haskell-users@haskell.org=20
Sent: Monday, June 02, 2003 06:44
Subject: GHC-6.0: Open with ... bug (again!)
Hi.
The problem with open files contained in directories whose name =
contain white space is still present under Windows (Win XP Pro at =
least). It apparently works under Linux but not under windows.
Opening a file in a directory called "Test dir" via one of=20
$ ghci Test\ dir/Test.lhs
$ ghci "Test dir/Test.lhs"
$ ghci Test\ dir\\Test.lhs
$ ghci "Test\ dir\\Test.lhs"
gives the error
Test\:
Can't find module `Test\'
(use -v to see a list of the files searched for)
The output from running ghci with the -v flag is attached to =
this mail. As usual ghc works perfectly.
Please, please, please fix this bug (so that I can build a CVS =
version) as we need it in our functional programming course.
Thanks, Calle
------=_NextPart_000_0036_01C330C1.55B73FC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type=20
content=3D"text/html; charset=3Diso-8859-1"><DEFANGED_META=20
content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3D"Content-Type"><DEFANGED_META=20
content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3D"Content-Type"><DEFANGED_META=20
content=3D"MSHTML 6.00.2800.1170"=20
name=3D"GENERATOR"><!-- <DEFANGED_STYLE> =
--></DEFANGED_STYLE><DEFANGED_META=20
content=3D"MSHTML 6.00.2800.1170"=20
name=3D"GENERATOR"><!-- <DEFANGED_STYLE> --></DEFANGED_STYLE>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Oops! Sorry about that ;-). It works =
with '/' but=20
not '\' of course. My mistake.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>/Calle</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dsof@galois.com href=3D"mailto:sof@galois.com">Sigbjorn =
Finne</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dcalle.lejdfors@cs.lth.se=20
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle Lejdfors</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
title=3Dglasgow-haskell-users@haskell.org=20
=
href=3D"mailto:glasgow-haskell-users@haskell.org">glasgow-haskell-users@h=
askell.org</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, June 11, 2003 =
6:25=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: GHC-6.0: Open with =
... bug=20
(again!)</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>That's good to hear -- :load =
works as=20
expected for me:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Prelude> :load "c:/Program=20
Files/Haskell/Mod1.hs" "c:/Program Files/Haskell/Mod2.hs"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Compiling Mod1 =
(....)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Compiling Mod2 =
(....)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ok, modules loaded: Mod1, =
Mod2.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Prelude></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>--sigbjorn</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial">----- Original Message =
----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dcalle.lejdfors@cs.lth.se=20
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle Lejdfors</A> </DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dsof@galois.com=20
href=3D"mailto:sof@galois.com">Sigbjorn Finne</A> </DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
title=3Dglasgow-haskell-users@haskell.org=20
=
href=3D"mailto:glasgow-haskell-users@haskell.org">glasgow-haskell-users@h=
askell.org</A>=20
</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, =
June 11, 2003=20
00:01</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Subject:</B> Re: =
GHC-6.0: Open=20
with ... bug (again!)</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks! It seems to work correctly =
now. However=20
it does not appear to work when loading via :load on the GHCi =
prompt. It=20
would be nice to get this to work as it would (probably) enable me =
to run=20
haskell-mode with ghci interaction through emacs under =
windows.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Calle</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dsof@galois.com href=3D"mailto:sof@galois.com">Sigbjorn =
Finne</A>=20
</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dcalle.lejdfors@cs.lth.se=20
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle Lejdfors</A> </DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
title=3Dglasgow-haskell-users@haskell.org=20
=
href=3D"mailto:glasgow-haskell-users@haskell.org">glasgow-haskell-users@h=
askell.org</A>=20
</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, =
June 10, 2003=20
6:14 PM</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Subject:</B> Re: =
GHC-6.0: Open=20
with ... bug (again!)</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks for the report on an issue =
I thought=20
had been properly resolved,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but alas not. The updated =
Windows=20
installer that was published last Monday</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>does include a fix for the issue. =
I'm=20
guessing you spotted that, but I didn't</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>want to leave your report =
un-replied to=20
in the e-mail archives.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>hth</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--sigbjorn</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial">----- Original Message =
-----=20
</DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dcalle.lejdfors@cs.lth.se=20
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle Lejdfors</A> =
</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dglasgow-haskell-users@haskell.org=20
=
href=3D"mailto:glasgow-haskell-users@haskell.org">glasgow-haskell-users@h=
askell.org</A>=20
</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Sent:</B> Monday, =
June 02,=20
2003 06:44</DIV>
<DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Subject:</B> =
GHC-6.0: Open=20
with ... bug (again!)</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The problem with open files =
contained in=20
directories whose name contain white space is still present =
under=20
Windows (Win XP Pro at least). It apparently works under Linux =
but not=20
under windows.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Opening a file in a directory =
called "Test=20
dir" via one of </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>$ ghci Test\ =
dir/Test.lhs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>$ ghci "Test =
dir/Test.lhs"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>$ ghci Test\ =
dir\\Test.lhs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>$ ghci "Test\ =
dir\\Test.lhs"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>gives the error</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Test\:<BR> =
Can't find=20
module `Test\'<BR> (use -v to see a list of =
the files=20
searched for)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The output from running ghci =
with the -v=20
flag is attached to this mail. As usual ghc works=20
perfectly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Please, please, please fix this =
bug (so=20
that I can build a CVS version) as we need it in our functional=20
programming course.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,=20
=
Calle</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></B=
ODY></HTML>
------=_NextPart_000_0036_01C330C1.55B73FC0--