Up: Starting   [Index]


4.4.1 Starting the Emacs Server

By convention, your choice of editor is specified by the environment variable ‘EDITOR’. If you set ‘EDITOR’ to ‘emacs’, Emacs would be invoked, but in an inconvenient way—by starting a new Emacs process. This is inconvenient because the new Emacs process doesn’t share buffers, a command history, or other kinds of information with any existing Emacs process.

You can solve this problem by setting up Emacs as an edit server, so that it “listens” for external edit requests and acts accordingly. There are various ways to start an Emacs server:


Up: Starting   [Index]