setup emacs client properly