Possible Emacs doesn't start with the right PATH variable. I always start
it from the terminal, but from
the GNOME menu shortcut, it's just, blank. To check this is indeed the
cause, check out:

M-: (getenv "PATH")

If it's different to your echo $PATH in your shell then it's probably
that. I think this is because Emacs is not started from the shell. So
you need to add .cabal/bin and your GHC path to your session-wide (or
system-wide) environment variable file:
https://help.ubuntu.com/community/EnvironmentVariables#Session-wide_environment_variables

Or you can make a bash script to run Emacs and change your Emacs
launching shortcut to run that instead.
_______________________________________________
Haskellmode-emacs mailing list
[email protected]
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs

Reply via email to