Automatic setup for emacs on multiple devices