From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chetan Newsgroups: gmane.emacs.help Subject: Re: Gnuserv vs Emacsserver Date: Fri, 28 Nov 2008 14:26:28 -0800 Organization: Noname Inc. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227912104 14237 80.91.229.12 (28 Nov 2008 22:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2008 22:41:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 23:42:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6C2v-0008QG-1E for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2008 23:42:45 +0100 Original-Received: from localhost ([127.0.0.1]:36625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6C1l-00069h-5F for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2008 17:41:33 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi070.nbdc.sbc.com.POSTED!8e1d8614!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:ucPesIFEhC45grnsjNhBao73WzY= Original-Lines: 69 Original-NNTP-Posting-Host: 75.36.178.89 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: nlpi070.nbdc.sbc.com 1227911191 ST000 75.36.178.89 (Fri, 28 Nov 2008 17:26:31 EST) Original-NNTP-Posting-Date: Fri, 28 Nov 2008 17:26:31 EST X-UserInfo1: Q[R_@SFGTRU[RZLYMJNBNFXBWR\HPCTL@XT^OBPLAH[\RWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Original-Xref: news.stanford.edu gnu.emacs.help:164877 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60205 Archived-At: Magnus Berg writes: >>>> >/ Hi!/ >>>> > >>>> >/ I'm little confused about the possibilities with Emacsserver in Emacs >>>> > 23/ >>>> >/ (cvs). I had used Gnuserv before because it makes it possible to open a >>>> > new/ >>>> >/ buffers/files, from the filemanager etc, in the initial frame (whith/ >>>> >/ dtemacs). I don't want to have my screen cluttered with frames./ >>>> >/ Now I wonder if it's possible to do the same with Emacs 23:s >>>> > Emacsserver or/ >>>> >/ if I should continue to use Gnuserver for that. If it's possible with/ >>>> >/ Emacsserver, can you tell me how./ >>>> >>>> Maybe you can find your answer here: >>>> >>>> http://www.emacswiki.org/emacs/EmacsClient >>>> >>> >>> No, there was nothing about opening new buffers/files in the initial frame. >> >> Sorry, you are right. Look at the option server-window in Emacs. (I am >> surprised it is not mentioned.) Does that help you? > > No! :-) I have read quite a lot about emacsserver. (I got the "GNU Emacs > manual" as a book and it covers version 22) I have searched and looked up the > options but I don't get a grip of it. I found a option for emacsserver there I > can set the variable "server-window" to a window or a frame. And it is by > default set to "Use selected window" and it is possible to chose "Display in > new frame", "Use pop-to-buffer" and "Other function". I suppose the last > alternative could include some smart setting for the ones who knows lisp or > what to do. But I don't. > > But I'm not sitting here crying :-) I installed Gnuserv and it does what I > want. But it should be fun to now how to do it without extra lisp packages, if > it is possible with the included emacsserver. > > Thanks for your interest in my question Lennart! I have wondered about swithing to emacsserver for some time. I have been using gnuclient for a long time (on W32). Changing over to emacsserver became a possibility with emacs 22, but I haven't yet done it. For my style of working, I find there are irritations in switching over. I wonder if anybody has any solution. 1. My version of gnuclient starts emacs (if it can find it) if it cannot connect to a running instance. I could, of course, make sure it is running before I use it. 2. Irrespective of whether I am running emacs 21 or 22, it can still connect. 3. The biggest irritant is that if I start another instance of emacs, either by mistake or because I want to do something in a console window, it clobbers my previous instance. With gnuserve, it fails with a dialog box, which is also irritating, but it works the way I want it. Ideally I would not like to keep changing the commandline, but I don't see how I would do it even with that. 4. I need to change too many places in the system registry where it invokes gnuclient. I can perhaps do that if I can handle the others. Chetan