From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6781: 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 1280838458 312 80.91.229.12 (3 Aug 2010 12:27:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 12:27:38 +0000 (UTC) Cc: 6781@debbugs.gnu.org, Ken Raeburn , emacs-devel@gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 03 14:27:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1OgGaj-0003Eq-Tj for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 14:27:34 +0200 Original-Received: from localhost ([127.0.0.1]:54916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgGaj-0005hi-9f for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 08:27:33 -0400 Original-Received: from [140.186.70.92] (port=39598 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgGVI-0001MY-JC for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 08:21:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgGHr-00031u-21 for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 08:08:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48306) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgGHr-00031p-0h for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 08:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OgGD0-00015H-G2; Tue, 03 Aug 2010 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Aug 2010 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6781-submit@debbugs.gnu.org id=B6781.12808369354151 (code B ref 6781); Tue, 03 Aug 2010 12:03:02 +0000 Original-Received: (at 6781) by debbugs.gnu.org; 3 Aug 2010 12:02:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgGCF-00014u-6S for submit@debbugs.gnu.org; Tue, 03 Aug 2010 08:02:15 -0400 Original-Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgGCD-00014o-Q7 for 6781@debbugs.gnu.org; Tue, 03 Aug 2010 08:02:14 -0400 Original-Received: by iwn3 with SMTP id 3so972208iwn.3 for <6781@debbugs.gnu.org>; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 Aug 2010 08:03:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39193 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