[Haskell-cafe] Haskell mode for Emacs question
Miguel Mitrofanov
miguelimo38 at yandex.ru
Thu Jan 22 14:23:59 EST 2009
http://depositfiles.com/files/4565hs7vl
On 22 Jan 2009, at 21:14, Bulat Ziganshin wrote:
> Hello John,
>
> Thursday, January 22, 2009, 8:50:39 PM, you wrote:
>
> thanks, support of over-internet and intranet collaboration looks very
> promising these days (even if not saying about ability to highlight
> error place ;)
>
> btw, i was unable to download mp4 video from http://vimeo.com/1653402
> (online players doesn't work in my browser)
>
>> Not that you're looking to switch editors, but if you want
>> something a
>> little more hassle-free:
>
>> http://www.n-brain.net/unashots/Haskell/ErrorHighlighting.png
>
>> Regards,
>
>> John
>
>> On Jan 22, 2009, at 10:17 AM, Peter Verswyvelen wrote:
>
>>> I have a silly problem.
>>>
>>> I'm using Emacs with the Haskell mode extension on Windows
>>>
>>> I have a source file in say
>>>
>>> c:/foo/src/main.hs
>>>
>>> main.hs is importing some other modules in that same src directory
>>>
>>> When I invoke GHCi from within Emacs, the first thing it does is
>>>
>>> :cd c:/foo
>>>
>>> and then
>>>
>>> :load "src/main.hs"
>>>
>>> But of course GHCi won't find the imported modules now, since the
>>> current directory is wrong.
>>>
>>> If I type in GHCi
>>>
>>> :cd src
>>> :load "main.hs"
>>>
>>> then it compiles fine.
>>>
>>> Does anyone have an idea why Emacs or the Haskell mode is switching
>>> to the parent directory of src instead of src itself, and how to fix
>>> this?
>>>
>>> Thanks a lot,
>>> Peter
>>>
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> Haskell-Cafe at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
> --
> Best regards,
> Bulat mailto:Bulat.Ziganshin at gmail.com
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list