Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!bbn!inmet!ishmael!nelson From: nelson@ishmael Newsgroups: comp.emacs Subject: Re: Bug (?) in emacs server Message-ID: <123800003@ishmael> Date: 18 Jan 89 22:00:00 GMT References: <10864@umn-cs.CS.UMN.EDU> Lines: 23 Nf-ID: #R:umn-cs.CS.UMN.EDU:-1086400:ishmael:123800003:000:938 Nf-From: ishmael!nelson Jan 18 17:00:00 1989 > The problem that > I've found is that when I use emacsclient, and change the mode of the > buffer (say, from Fundamental to Text for editing mail), emacs forgets > that that buffer was a server buffer, and so C-x # does nothing, and > the only way I've found to let the client continue on is to exit > emacs. Hey, thanks for figuring this out. I used to wonder why it would sporadically "hang" on me, and I never made the correlation to mode change. Inspired by your discovery, I played around with some server commands and found that the command M-x server-start will have the (side?) effect of returning control to the caller with all of your buffer intact. (Same effect as C-x #). (At least it worked the one time I tried it). Not a pretty solution, but it appears to work. I agree that the server mode shouldn't be lost in the first place. - Nelson Nelson Lerner uunet!inmet!nelson nelson@inmet.inmet.com