GHC-6.0: Open with ... bug (again!)

Calle Lejdfors calle.lejdfors@cs.lth.se
Wed, 11 Jun 2003 09:01:41 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C32FF8.12F2E910
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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_000E_01C32FF8.12F2E910
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"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>Hi.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks! It seems to work correctly now. =
However it=20
does not appear to work when loading via :load on the GHCi prompt. It =
would be=20
nice to get this to work as it would (probably) enable me to run =
haskell-mode=20
with ghci interaction through emacs under windows.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Calle</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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> </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> Tuesday, June 10, 2003 =
6:14=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>Hi there,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>thanks for the report on an issue I =
thought had=20
  been properly resolved,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>but alas not.&nbsp;The updated =
Windows installer=20
  that was published last Monday</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>does include a fix for the issue. I'm =
guessing=20
  you spotted that, but I didn't</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>want to leave&nbsp;your report =
un-replied to in=20
  the e-mail archives.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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 =
----- </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, 2003=20
    06:44</DIV>
    <DIV DEFANGED_STYLE=3D"FONT: 10pt arial"><B>Subject:</B> GHC-6.0: =
Open with=20
    ... bug (again!)</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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 =
Windows=20
    (Win XP Pro at least). It apparently works under Linux but not under =

    windows.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Opening a file in a directory =
called "Test dir"=20
    via one of </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>gives the error</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Test\:<BR>&nbsp;&nbsp;&nbsp; Can't =
find module=20
    `Test\'<BR>&nbsp;&nbsp;&nbsp; (use -v to see a list of the files =
searched=20
    for)</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>The output from running ghci with =
the -v flag=20
    is attached to this mail. As usual ghc works perfectly.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Please, please, please fix this bug =
(so that I=20
    can build a CVS version) as we need it in our functional programming =

    course.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks,=20
Calle</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000E_01C32FF8.12F2E910--