Problems with new platform version

Christopher Done chrisdone at googlemail.com
Thu Jun 21 07:27:43 BST 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskellmode-emacs/attachments/20120621/37b34835/attachment.htm>


More information about the Haskellmode-emacs mailing list