From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: emacs server with X11 build on OSX Date: Tue, 3 Aug 2010 14:02:19 +0200 Message-ID: References: <83F33443-0C3F-4F9B-B584-D9301250B8FC@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280837041 27439 80.91.229.12 (3 Aug 2010 12:04:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 12:04:01 +0000 (UTC) Cc: 6781@debbugs.gnu.org, Ken Raeburn , emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 03 14:03:53 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 1OgGDo-0007xA-Iz for ged-emacs-devel@m.gmane.org; Tue, 03 Aug 2010 14:03:52 +0200 Original-Received: from localhost ([127.0.0.1]:48682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgGDb-0005Ui-A6 for ged-emacs-devel@m.gmane.org; Tue, 03 Aug 2010 08:03:39 -0400 Original-Received: from [140.186.70.92] (port=39629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgGCg-0005A3-6A for emacs-devel@gnu.org; Tue, 03 Aug 2010 08:02:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgGCe-0002CZ-Co for emacs-devel@gnu.org; Tue, 03 Aug 2010 08:02:41 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:47570) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgGCe-0002CM-9m for emacs-devel@gnu.org; Tue, 03 Aug 2010 08:02:40 -0400 Original-Received: by iwn2 with SMTP id 2so6370223iwn.0 for ; Tue, 03 Aug 2010 05:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dhYn654cney/CRQ353eix4MBXPzEm03rYlEWagn6jnw=; b=X9KrCa8SAopxkzxceDtKMbIwRPp/VDXdtOjTD5cZjGsDWnFJnJEQutNyQsdZLsDOKs SH3wV9arGe3Ll2q7Zw8s+DU3eZTkuIC4G2cIHjlgJXaNYojIIrSLuaIsufl7gJzajIyT MxmlFtPWgn875OoN4ReaKFYzEjaoU+mNzDwIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NWpjbm15J2+eWqaHM4j/+hubY8Oh0gw13iwZ6MhoH6taQb2OjrgIxhx7jmagLB+P+v 2bDJURDjCEu0n7i7EhDTBxIS2cTRBWWmiaSujC6Tm1qd2guES8DnbY7WmsGe2hdG3+Eb Xr4BNMTMAcdFOOtit9O/XUtFedDuCNbtF5BXQ= Original-Received: by 10.231.167.80 with SMTP id p16mr8481497iby.119.1280836959194; Tue, 03 Aug 2010 05:02:39 -0700 (PDT) Original-Received: by 10.231.162.4 with HTTP; Tue, 3 Aug 2010 05:02:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:128185 Archived-At: On Tue, Aug 3, 2010 at 07:01, Leo wrote: > On 2010-08-03 03:47 +0100, Juanma Barranquero wrote: >> I suppose the Right >> Thing to do for server.el is to force it to use "127.0.0.1" instead of >> 'local for the :host argument. > I think this can be the workaround for now while waiting for Ken to look > at the C side for more bugs there. Thank you both. I meant that server.el should stick to IPv4 and make sure it does so, not that it was the fix for your problem. If you ping localhost and it reaches 127.0.0.1, but (make-network-proces ... :host 'local) does not use that address, it is obvious there's a bug somewhere... > Could you also simplify (more readable) the loop in server-start like thi= s: > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 f= or i below 64 > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repeat 6= 4 Nice. I wonder why did I miss "repeat". =C2=A0 =C2=A0 Juanma