for Japanese: http://qiita.com/items/9ba5eb157e09463740f4
I'm using Emacs on Ubuntu, but I amazed because that had not inherited environment variable when launch Emacs by Unity launcher. So that lisp snippet have include Zsh environment variable $PATH to Emacs.
Add this snippet to your .emacs ($HOME/.emacs.d/init.el).
USAMI Kenta tadsan@zonu.me
This snippet in licensed under GPL Version 3 and NYSL Version 0.9982 (in English unofficial ) .