scripts to run emacs. thanks @mjwall (http://mjwall.com/blog/2013/10/04/how-i-use-emacs/)
adjust settings in case of running emacs in daemon mode and connecting to it