From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start Date: Tue, 02 Sep 2008 16:16:55 -0400 Message-ID: References: <48BD9EA0.60608@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220387327 8465 80.91.229.12 (2 Sep 2008 20:28:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 20:28:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 02 22:29:42 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KacVO-0004d9-MP for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2008 22:29:39 +0200 Original-Received: from localhost ([127.0.0.1]:45567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KacUO-00030a-VL for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2008 16:28:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KacUK-0002z1-Bs for emacs-devel@gnu.org; Tue, 02 Sep 2008 16:28:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KacUI-0002yY-G6 for emacs-devel@gnu.org; Tue, 02 Sep 2008 16:28:31 -0400 Original-Received: from [199.232.76.173] (port=58034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KacUI-0002yV-8n for emacs-devel@gnu.org; Tue, 02 Sep 2008 16:28:30 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56151 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KacUH-0003dP-OW for emacs-devel@gnu.org; Tue, 02 Sep 2008 16:28:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KacUB-0003Jl-Ri for emacs-devel@gnu.org; Tue, 02 Sep 2008 20:28:23 +0000 Original-Received: from shell01.theworld.com ([192.74.137.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 20:28:23 +0000 Original-Received: from flitterio by shell01.theworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 20:28:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: shell01.theworld.com X-Draft-From: ("nntp+news.gmane.org:gmane.emacs.devel" 103443) X-Random-Quote: Generosity is giving more than you can, and pride is taking less than you need. -- Kahlil Gibran User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt) Cancel-Lock: sha1:CZOUqjHuYt9mA4mQ7iNrzDim4YQ= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:103444 Archived-At: Lennart Borgman (gmail) wrote: > Francis Litterio wrote: >> CVS Emacs built and running on Windows XP seems to perform some network >> operations that cause a ~60 second pause after the initial window is >> drawn and before the Welcome screen appears. > Thanks. Is this when you start with default emacs? > > emacs -Q Sorry for omitting that. It happens when I run both "emacs -q" and "emacs -Q". BUT ... your question has led me to discover an additional strange symptom: If I wait the ~60 seconds for Emacs to display the Welcome screen, then terminate Emacs using "C-x C-c", then restart Emacs less than ~20 seconds after terminating it, it starts without any pause! It is acting as if the information from the domain controller may be cached by Windows locally, so that the call to LsaLookupSids() is very fast when the information is in the cache, but after ~20 seconds, the domain controller is again contacted over the network. Just a theory. -- Fran