From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Berg Newsgroups: gmane.emacs.help Subject: Re: Gnuserv vs Emacsserver Date: Sun, 30 Nov 2008 19:46:47 +0100 Message-ID: <4932DF97.8030108@burgsvik.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228070880 17577 80.91.229.12 (30 Nov 2008 18:48:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 18:48:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 19:49:02 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 1L6rLj-0005q4-M1 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 19:48:56 +0100 Original-Received: from localhost ([127.0.0.1]:44317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6rKZ-0007HL-Mc for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 13:47:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6rJX-00071O-FT for help-gnu-emacs@gnu.org; Sun, 30 Nov 2008 13:46:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6rJW-00070r-9J for help-gnu-emacs@gnu.org; Sun, 30 Nov 2008 13:46:38 -0500 Original-Received: from [199.232.76.173] (port=55294 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6rJW-00070l-0h for help-gnu-emacs@gnu.org; Sun, 30 Nov 2008 13:46:38 -0500 Original-Received: from mail2.surf-town.net ([212.97.132.42]:50680 helo=mailgw8.surf-town.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6rJV-0003ec-FG for help-gnu-emacs@gnu.org; Sun, 30 Nov 2008 13:46:37 -0500 Original-Received: by mailgw8.surf-town.net (Postfix, from userid 65534) id ACA66F4A16; Sun, 30 Nov 2008 19:46:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by mailgw8.surf-town.net (Postfix) with ESMTP id 8FB12F49C4 for ; Sun, 30 Nov 2008 19:46:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw8.surf-town.net X-Spam-Score: 0 Original-Received: from mailgw8.surf-town.net ([127.0.0.1]) by localhost (mailgw8.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qmLIhuFp1wl9 for ; Sun, 30 Nov 2008 19:46:31 +0100 (CET) Original-Received: from [192.168.0.100] (h8n3-vb-d2.ias.bredband.telia.com [78.70.76.8]) by mailgw8.surf-town.net (Postfix) with ESMTP id C6580F49F9 for ; Sun, 30 Nov 2008 19:46:31 +0100 (CET) User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:60260 Archived-At: >>>>> >/ 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! > > > But can you then please explain what you want to do then? I thought > you wanted to open a file in a specific Emacs frame. Is not that what > you want to do? Yes! But the defult "Use selected window" in the the variable "server-window" doesn't, even if it maybe should. And I had the argument (server-start) in my .emacs As I understand it that should run Emacs as Emacsserver. And I choose to open new files, from the filemanager with the application/command emacsclient. But all opened files creates a new frame.