Define profiles for local/remote terminals and services on emacs