[Haskell-cafe] Issues with running Ghci from emacs

Patai Gergely patai_gergely at fastmail.fm
Thu Apr 16 04:20:50 EDT 2009


> I end up doing
> 
>   :set -i../Documents/haskell/SOE/src
> 
> To set the search directory so that ghci can find the source.
> 
> I've not been how to tailor that 'cd' which is run at start
> up (but I've not looked to hard)

It is looking for the closest ancestor directory with a file ending in
.cabal, and that's where cd goes. Probably the simplest way to trick it
without chaniging any setting is to create an empty dummy.cabal in the
directory of your program.

Gergely

-- 
http://www.fastmail.fm - Send your email first class



More information about the Haskell-Cafe mailing list