Running emacs like a DaemonThis a new feature that is included in emacs-23.1.Simple setupPutexport ALTERNATE_EDITOR=””in your .bashrcorsetenv ALTERNATE_EDITOR “”in your .cshrc depending on your default shell.after that using:emacsclient(or emacsclient -t)will automatically start an emacs in deamon mode and connect to it if one is not found running.Debian/UbuntuHere a little init script for GNU Deb