Re: [Haskell-cafe] Issues with running Ghci from emacs

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

Thanks, that does the trick.
Daryoush
2009/4/16 Patai Gergely
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
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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.
The haskell-mode code in the CVS repository has a fix for that problem. Stefan
participants (3)
-
Daryoush Mehrtash
-
Patai Gergely
-
Stefan Monnier