Newsgroups: comp.emacs Path: utzoo!utgpu!cunews!bnrgate!bigsur!bmerh453!fwpui2 From: fwpui2@bmerh453.BNR.CA (Larry Greenfield) Subject: emacs server. Message-ID: <1990Nov30.212956.27042@bigsur.uucp> Sender: news@bigsur.uucp Reply-To: fwpui2@bmerh615.bnr.ca Organization: BNR Ottawa, Fibre Systems Development Date: Fri, 30 Nov 90 21:29:56 GMT Hello all, I have been using emacsclient to bring files into emacs and I would like to add functionality to the server-start and server-edit commands. Presently, a file is inserted into a buffer and I get the message 'When done with a buffer, type C-x #.'. When I do this, emacs then switches back to the previous buffer. The way I would like this process to work is for the server to simply insert the file into the buffer and immediately issue a server-done to emacsclient. I would also like to retain the original implementation for mail, etc. Can someone describe how I can change the current function, and revert to the original when desired? Thanks in advance, Larry. Fiber Systems Development, Division 1 Bell-Northern-Research, Ottawa, Canada.