set up xemacs daemon properly