el-get, tried package management. wasted a day. did it manually things are working fine now.
I added a bunch of customizations for matlab to emacs, including CEDET. I also switched to the Anaconda python distribution.