From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Whaite Newsgroups: gmane.emacs.devel Subject: Re: Emacs (cvs) hangs on startup on remote X server (UTF8, xfs) Date: Mon, 11 Sep 2006 17:02:16 -0400 Message-ID: <9881.1158008536@brains.montreal.moreideas.ca> References: <6203.1157730753@brains.montreal.moreideas.ca> <4502608B.4060309@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1158008571 22836 80.91.229.2 (11 Sep 2006 21:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 21:02:51 +0000 (UTC) Cc: =?us-ascii?Q?=3D=3FISO-8859-1=3FQ=3FJan=5FDj=3DE4rv=3F=3D?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 11 23:02:46 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMsvP-0002nv-EL for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2006 23:02:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMsvO-0003Aw-UJ for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2006 17:02:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMsvC-00039R-8f for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:02:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMsvA-000366-JL for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:02:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMsvA-00035j-Bm for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:02:24 -0400 Original-Received: from [209.5.194.98] (helo=orval.can.rogers.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GMswV-0004MG-M1 for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:03:47 -0400 Original-Received: from brains.montreal.moreideas.ca ([149.99.131.37]) by orval.can.rogers.com (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20060911210221.HEBI12699.orval.can.rogers.com@brains.montreal.moreideas.ca>; Mon, 11 Sep 2006 17:02:21 -0400 Original-Received: from brains.montreal.moreideas.ca (localhost.localdomain [127.0.0.1]) by brains.montreal.moreideas.ca (8.13.5/8.13.5) with ESMTP id k8BL2GcD009882; Mon, 11 Sep 2006 17:02:18 -0400 Original-To: emacs-devel@gnu.org In-reply-to: <4502608B.4060309@swipnet.se> Comments: In-reply-to =?us-ascii?Q?=3D=3FISO-8859-1=3FQ=3FJan=5FDj=3DE4rv?= =?us-ascii?Q?=3F=3D?= message dated "Sat, 09 Sep 2006 08:34:51 +0200." X-Mailer: MH-E 8.0.2; nmh 1.2; GNU Emacs 22.0.50 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:59710 Archived-At: Jan Dj=C3=A4rv wrote: > Peter Whaite skrev: > > Here's the setup. I have two machines: one running a GNU/Linux Fedora > > FC5 system, and another running W2K with an "oldish" commercial X-win32 > > server. Ping times between the two systems are sub millisecond. > > > > When I start 'emacs -Q' on the GNU/Linux box with DISPLAY=3D:0.0 the em= acs > > window appears without delay. > > > > However when I start 'emacs -Q' on the GNU/Linux box with > > DISPLAY=3D192.168.0.3:0.0 (the W2k box) it hangs. No emacs window appea= rs > > until I generate an X event on the X-win32-5.3 server, e.g. by moving t= he > > mouse, pressing the ctrl key, etc. > > > > It doesn't hang all the time, maybe because there are sometimes > > pending xevents in the queue? > > > > It never happens if another emacs is already running. >=20 > It sounds like a bug in your w32 server. Does this happen only with > Emacs or can you see it with any other X client, like xterm? Just emacs. > Can you first start an xterm on GNU/Linux and then Emacs? Does it > happen then? Yes. > It sounds like your w32 server doesn't flush the out queue of the > first remote client properly. It has to do with me switching over to LANG=3Den_CA.UTF-8, and that the iso10646 fonts are being served by xfs on the GNU/Linux box. From an xterm (client on GNU/Linux, either Xserver, tripe is the w32 host) DISPLAY=3Dtripe:0.0 LANG=3Den_CA emacs -Q # No problem DISPLAY=3Dtripe:0.0 LANG=3Den_CA.UTF-8 emacs -Q # Hangs Or if I take the xfs off the w32 X server's font list then DISPLAY=3Dtripe:0.0 LANG=3Den_CA.UTF-8 emacs -Q # No problem I am using 'emacs*font: fixed' for my .Xdefaults. --=20 Peter Whaite