X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 	tests=BAYES_20,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4BB0D1FE.3020005@dronecode.org.uk>
Date: Mon, 29 Mar 2010 17:14:54 +0100
From: Jon TURNEY <jon.turney@dronecode.org.uk>
Reply-To: cygwin-xfree@cygwin.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
Followup-To: cygwin-xfree@cygwin.com
To: cygwin@cygwin.com, cygwin-xfree@cygwin.com
CC: dants@cs.technion.ac.il
Subject: Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7
References: <b2c39fcb1003290333r688e2f9dm2370567a67986092@mail.gmail.com>
In-Reply-To: <b2c39fcb1003290333r688e2f9dm2370567a67986092@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 29/03/2010 11:33, Dan Tsafrir wrote:
> After I've upgraded to cygwin-1.7 my emacs takes 30-40 seconds to
> open. Following
> http://x.cygwin.com/docs/faq/cygwin-x-faq.html#poor-performance,
> disabling my antivirus has no affect on emacs's opening time. As far
> as I can tell other X programs behave similarly to the way they did
> before the upgrade. Any help would be appreciated. The output of
> 'cygcheck -s -v -r' is attached.

LANG = 'C.UTF-8'

You are probably being bitten by [1]

As far as I can tell, this is a general problem with X, but cygwin 
unfortunately encounters it in a default install because (a) the default 
locale is a UTF-8 locale, and (b) we don't install the CJK fonts by default.

Workarounds you might try are (a) install the font packages font-isas-misc, 
font-jis-misc and font-daewoo-misc (and restart your server), or (b) set your 
locale to a non-UTF-8 one.

We need to do something about this, but as the discussion in the bug should 
make clear, we're not sure what :-)

[1] http://sourceware.org/bugzilla/show_bug.cgi?id=10948

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

