Thanks, that's great. Is it possible to do this dynamically? i.e., I don't have the lisp_file before hand, and would like to decide what to do at runtime. For example, is it possible to run emacs as a server, listening on a port, and I can send it commands over the socket, and see its result on the file on the screen display? Thanks again.