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: Wed, 13 Sep 2006 13:07:18 -0400 Message-ID: <8502.1158167238@brains.montreal.moreideas.ca> References: <6203.1157730753@brains.montreal.moreideas.ca> <4502608B.4060309@swipnet.se> <9881.1158008536@brains.montreal.moreideas.ca> <45067065.80208@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 1158167308 26566 80.91.229.2 (13 Sep 2006 17:08:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 17:08:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 19:08:25 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 1GNYDO-0006B9-Rv for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 19:07:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNYDO-00025v-Bw for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 13:07:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNYCv-0001vK-Ug for emacs-devel@gnu.org; Wed, 13 Sep 2006 13:07:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNYCu-0001uO-7Q for emacs-devel@gnu.org; Wed, 13 Sep 2006 13:07:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNYCt-0001uE-No for emacs-devel@gnu.org; Wed, 13 Sep 2006 13:07:27 -0400 Original-Received: from [209.5.194.99] (helo=berlinr.can.rogers.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNYEe-0004pi-F3 for emacs-devel@gnu.org; Wed, 13 Sep 2006 13:09:16 -0400 Original-Received: from brains.montreal.moreideas.ca ([149.99.131.200]) by berlinr.can.rogers.com (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20060913170724.QXKA12231.berlinr.can.rogers.com@brains.montreal.moreideas.ca>; Wed, 13 Sep 2006 13:07:24 -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 k8DH7Ied008503; Wed, 13 Sep 2006 13:07:21 -0400 Original-To: =?us-ascii?Q?=3D=3FUTF-8=3FB=3FSmFuIERqw6Rydg=3D=3D=3F=3D?= In-reply-to: <45067065.80208@swipnet.se> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FB=3FSmFuIERqw6Rydg=3D=3D?= =?us-ascii?Q?=3F=3D?= message dated "Tue, 12 Sep 2006 10:31:33 +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:59787 Archived-At: Jan, Thanks for taking the time to think about this. Jan Dj=C3=A4rv wrote: > How about: > DISPLAY=3Dtripe:0.0 LANG=3Den_CA.UTF-8 xterm -fn fixed No change. > or > DISPLAY=3Dtripe:0.0 LANG=3Den_CA.UTF-8 emacs -Q -fn lucidasanstypewriter-= 12 It still misbehaves, but sometimes I have to generate 2 xevents (by pressing the control key) before the emacs frame appears. > Where is xfs in the fontlist? Is it before anything else?=20=20 Its at the end. It looks like C:\...Lib\Fonts\misc C:\...Lib\Fonts\75dpi msfonts tcp/brains:7100 msfonts tells it to use the installed w32 fonts. I played around with the order. If msfonts is at the top of the list the emacs frame appears without delay (but the fonts sizes and selections are messed up), and if msfonts is last then emacs nearly always hangs pending an xevent. I have the impression that moving msfonts towards the end increases the chance that the emacs will hang but its not clear cut. > Do you see any messages in syslog (you may have to enable use-syslog > in the xfs config file and restart xfs)? use-syslog is enabled. I see nothing in /var/log/messages (or any other /var/log/ file). It does look as though the problem is a function of how long it takes to "resolve" the fonts. Could be a w32 server problem as you say, or some kind of incompatibility between the old w32 server, and the new X client libraries that come with FC5. It could even be emacs. There have been a lot of changes around sit-for and read-events lately. If I get time I'll go back to an older cvs and see if the problem is still there. --=20 Peter Whaite (http://whaite.ca)