Thanks,  that does the trick.<br><br>Daryoush<br><br><div class="gmail_quote">2009/4/16 Patai Gergely <span dir="ltr">&lt;<a href="mailto:patai_gergely@fastmail.fm">patai_gergely@fastmail.fm</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">&gt; I end up doing<br>
&gt;<br>
&gt;   :set -i../Documents/haskell/SOE/src<br>
&gt;<br>
&gt; To set the search directory so that ghci can find the source.<br>
&gt;<br>
&gt; I&#39;ve not been how to tailor that &#39;cd&#39; which is run at start<br>
&gt; up (but I&#39;ve not looked to hard)<br>
<br>
</div>It is looking for the closest ancestor directory with a file ending in<br>
.cabal, and that&#39;s where cd goes. Probably the simplest way to trick it<br>
without chaniging any setting is to create an empty dummy.cabal in the<br>
directory of your program.<br>
<br>
Gergely<br>
<font color="#888888"><br>
--<br>
<a href="http://www.fastmail.fm" target="_blank">http://www.fastmail.fm</a> - Send your email first class<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br><br>