Using Builder Xcessory with Emacs

Using emacsclient

Builder Xcessory uses the tool emacsclient to tell Emacs to load a file and display the buffer. Emacs must be running. Builder Xcessory issues a request of this "Edit Server". By default, Emacs is not configured to run as a server. In order for the emacsclient tool to work, you must add the following Emacs Lisp command to your .emacs file (the file that emacs runs at startup):


Enter this line exactly as shown, including parentheses. Once Emacs loads and executes the .emacs file again (usually when it starts), it recognizes edit requests from emacsclient .

Running Emacs with emacsclient requires that the emacsclient executable and Emacs executable be run on the same machine. The socket that emacsclient uses to communicate with emacs is a local socket.

Using gnuclient

To enable emacs to run on one system and the client program to make edit requests from another system, you can use gnuclient. gnuclient works similarly to emacsclient , but also includes the following features:

· The -q option forces gnuclient to send its edit request but not wait for the request to complete. The gnuclient process exits as soon as it sends the edit request.

· The gnuclient software includes the ability to specify another host on which emacs is running and to make the edit request on that machine.

The gnuclient software is available with FTP from most GNU Emacs Lisp archive sites. To use gnuclient / gnuserv , include the following in the .emacs file:

(load "gnuserv")