GHC-6.0: Open with ... bug (again!)
Sigbjorn Finne
sof@galois.com
Thu, 12 Jun 2003 08:58:18 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_1E59_01C330C0.C4751F50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You just need to escape the '\' with another '\' inside the string
literal -- ghci isn't cleverer than that, I'm afraid.
--sigbjorn
----- Original Message -----=20
From: Calle Lejdfors=20
To: Sigbjorn Finne=20
Cc: glasgow-haskell-users@haskell.org=20
Sent: Thursday, June 12, 2003 00:02
Subject: Re: GHC-6.0: Open with ... bug (again!)
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
------=_NextPart_000_1E59_01C330C0.C4751F50
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 =
http-equiv=3D"Content-Type"=20
content=3D"text/html; charset=3Diso-8859-1"><DEFANGED_META =
http-equiv=3D"Content-Type"=20
content=3D"text/html; charset=3Diso-8859-1"><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>You just need to escape the '\' with =
another '\'=20
inside the string</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>literal -- ghci isn't cleverer than =
that, I'm=20
afraid.</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 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 =
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle=20
Lejdfors</A> </DIV>
<DIV 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 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> Thursday, June 12, 2003 =
00:02</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>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>=20
</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,=20
2003 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.=20
However it does not appear to work when loading via :load on the =
GHCi=20
prompt. It would be nice to get this to work as it would =
(probably) enable=20
me to run haskell-mode with ghci interaction through emacs under=20
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=20
size=3D2></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY=
></HTML>
------=_NextPart_000_1E59_01C330C0.C4751F50--