From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: emacs server with X11 build on OSX Date: Mon, 02 Aug 2010 16:56:08 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280764750 29703 80.91.229.12 (2 Aug 2010 15:59:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2010 15:59:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 02 17:59:09 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OfxPx-00044j-C5 for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2010 17:59:09 +0200 Original-Received: from localhost ([127.0.0.1]:46260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfxPw-0008IV-Sh for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2010 11:59:08 -0400 Original-Received: from [140.186.70.92] (port=59463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfxN6-00064Y-LL for emacs-devel@gnu.org; Mon, 02 Aug 2010 11:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfxN5-0006aG-FL for emacs-devel@gnu.org; Mon, 02 Aug 2010 11:56:12 -0400 Original-Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:43380) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfxN5-0006Zm-BY for emacs-devel@gnu.org; Mon, 02 Aug 2010 11:56:11 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]:52477 helo=Victoria.local) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1OfxN3-0004fQ-ee (Exim 4.72) (return-path ); Mon, 02 Aug 2010 16:56:09 +0100 In-Reply-To: (Juanma Barranquero's message of "Mon, 2 Aug 2010 16:57:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128130 Archived-At: On 2010-08-02 15:57 +0100, Juanma Barranquero wrote: > That is not server.el-specific, is it? I mean, you're getting an error > on calling make-network-process to create a TCP server. Do you get an > error from > > (make-network-process :name "server" :server t :family nil :service t > :host 'local) Yeah make-network-process is the problem; it is in C and I don't know how to fix it. I have used the following in server-start as workaround: (make-network-process :name "server" :server t :family 'ipv4 :service t) BTW, with the server running over TCP, I can eval sexp in a shell script from another machine and inform emacs what's going on there. That is very useful when my code and build are in two different machines. Kind regards, Leo