Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl From: karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) Newsgroups: comp.emacs Subject: Re: Server and Client Message-ID: <11976@tut.cis.ohio-state.edu> Date: 29 Apr 88 12:48:02 GMT References: <8804290217.AA26962@constance.rutgers.edu> Sender: news@tut.cis.ohio-state.edu Lines: 14 Hmmm. I wonder how difficult it would be to make things so that emacsclient automatically suspends its parent process and continues the server emacs... Any ideas? It will be very difficult indeed. When the emacsclient suspends itself, your shell will hear about it and expect to give you a new prompt due to a normal job-stop. Convincing the shell that something else should be automatically considered the running foreground process could be quite a neat trick. About the only way to do it is to have emacsclient stuff a "fg %emacs" command into the terminal data stream via TIOCSTI - ugly and dangerous at best. --Karl