Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Dan Tsafrir
On Tue, Apr 13, 2010 at 14:16, Ken Brown kbr...@cornell.edu wrote: On 4/12/2010 7:52 PM, Dan Tsafrir wrote: On Tue, Apr 6, 2010 at 00:39, Jon TURNEYjon.tur...@dronecode.org.uk  wrote: I've conducted a few repeated measurements and it looks as though setting LANG to be en_US somewhat reduces

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Dan Tsafrir
On Tue, Apr 13, 2010 at 17:22, Jon TURNEY jon.tur...@dronecode.org.uk wrote: The mechanism that loads ~/.Xdefaults into the X server resource database is nicely obscure, so I'm not sure that -q actually avoids that. The definitive way to check would be to move ~/.Xdefaults aside, restart the

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Dan Tsafrir
On Tue, Apr 13, 2010 at 17:55, Markus Hoenicka markus.hoeni...@mhoenicka.de wrote: Jon TURNEY jon.tur...@dronecode.org.uk was heard to say: So far it seems that (1) emacs takes a long time to start up (2) xterm starts up quickly.  Are there other X applications that you use and how do they

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Dan Tsafrir
On Wed, Apr 14, 2010 at 10:17, Dan Tsafrir da...@cs.technion.ac.il wrote: On Tue, Apr 13, 2010 at 17:22, Jon TURNEY jon.tur...@dronecode.org.uk wrote: [snip] So far it seems that (1) emacs takes a long time to start up (2) xterm starts up quickly.  Are there other X applications that you use

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Markus Hoenicka
Dan Tsafrir da...@cs.technion.ac.il was heard to say: I wasn't able to strace emacs, but I am able to strace xclock (brining it up, which when strace-ing takes several long minutes on my netbook, and then immediately killing it). Neither was I. I always get this error (the error number is

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Thomas Dickey
On Wed, 14 Apr 2010, Markus Hoenicka wrote: This is where I have seen xterm to spend most of its time. In your log, this block of statements appears to be repeated several times for each font it checks in /etc/fonts. This would explain why it is related somehow to fonts in your case. It's a

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Dan Tsafrir
On Wed, Apr 14, 2010 at 12:24, Markus Hoenicka markus.hoeni...@mhoenicka.de wrote: I've had a look at your strace log. I've noticed the same block of statements which seems to be repeated over and over again (see my previous post).  Did you watch the strace output on the console in real time

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Markus Hoenicka
Dan Tsafrir da...@cs.technion.ac.il was heard to say: The two numbers at the beginning of each strace output line (like the ones you quoted above) answer this question. I believe the first number is elapsed microseconds since the previous line and the second number is elapsed microseconds since

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Ken Brown
On 4/14/2010 5:24 AM, Markus Hoenicka wrote: Dan Tsafrir was heard to say: I wasn't able to strace emacs, but I am able to strace xclock (brining it up, which when strace-ing takes several long minutes on my netbook, and then immediately killing it). Neither was I. I always get this error

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-14 Thread Markus Hoenicka
Ken Brown writes: That's because /usr/bin/emacs is a symlink. Try straceing emacs-X11. Who'd have thunk? Thanks, that's going to make it easier then. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-13 Thread Bengt-Arne Fjellner
On 2010-04-13 1:52 AM, Dan Tsafrir wrote: On Tue, Apr 6, 2010 at 00:39, Jon TURNEYjon.tur...@dronecode.org.uk wrote: I've conducted a few repeated measurements and it looks as though setting LANG to be en_US somewhat reduces the start time of emacs-x11: instead of ~30 seconds with

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-13 Thread Dan Tsafrir
On Tue, Apr 13, 2010 at 09:46, Bengt-Arne Fjellner bengt-arne.fjell...@ltu.se wrote: On 2010-04-13 1:52 AM, Dan Tsafrir wrote: I've invoked emacs with -Q (and also, just to make sure, removed my ~/.Xdefaults). It did not change anything: emacs still takes ~30 seconds to open. A shot (well

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-13 Thread Ken Brown
On 4/12/2010 7:52 PM, Dan Tsafrir wrote: On Tue, Apr 6, 2010 at 00:39, Jon TURNEYjon.tur...@dronecode.org.uk wrote: I've conducted a few repeated measurements and it looks as though setting LANG to be en_US somewhat reduces the start time of emacs-x11: instead of ~30 seconds with

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-13 Thread Jon TURNEY
On 13/04/2010 00:52, Dan Tsafrir wrote: On Tue, Apr 6, 2010 at 00:39, Jon TURNEY wrote: I've conducted a few repeated measurements and it looks as though setting LANG to be en_US somewhat reduces the start time of emacs-x11: instead of ~30 seconds with LANG=C.UTF-8, it take ~27 seconds

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-13 Thread Markus Hoenicka
Jon TURNEY jon.tur...@dronecode.org.uk was heard to say: So far it seems that (1) emacs takes a long time to start up (2) xterm starts up quickly. Are there other X applications that you use and how do they behave? I've followed this thread with interest, but so far I thought I'm not

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-12 Thread Dan Tsafrir
On Tue, Apr 6, 2010 at 00:39, Jon TURNEY jon.tur...@dronecode.org.uk wrote: I've conducted a few repeated measurements and it looks as though setting LANG to be en_US somewhat reduces the start time of emacs-x11: instead of ~30 seconds with LANG=C.UTF-8, it take ~27 seconds LANG=en_US. While

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-04-05 Thread Jon TURNEY
On 29/03/2010 23:41, Dan Tsafrir wrote: On Mon, Mar 29, 2010 at 19:14, Jon TURNEY wrote: 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. Sorry, I hadn't noticed what you'd written about xterm starting up normally, I guess that

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-03-29 Thread Jon TURNEY
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

Re: emacs-x11 takes 30-40 sec to open after upgrading to cygwin-1.7

2010-03-29 Thread Dan Tsafrir
On Mon, Mar 29, 2010 at 19:14, Jon TURNEY jon.tur...@dronecode.org.uk wrote: 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