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: Wed, 03 Sep 2008 11:14:47 -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 1220455703 7560 80.91.229.12 (3 Sep 2008 15:28:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 15:28:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 17:29:17 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 1KauHx-0007uS-RZ for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 17:28:58 +0200 Original-Received: from localhost ([127.0.0.1]:36370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KauGy-0007hC-KP for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 11:27:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KauGu-0007h1-O2 for emacs-devel@gnu.org; Wed, 03 Sep 2008 11:27:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KauGt-0007gU-89 for emacs-devel@gnu.org; Wed, 03 Sep 2008 11:27:52 -0400 Original-Received: from [199.232.76.173] (port=49320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KauGt-0007gR-4h for emacs-devel@gnu.org; Wed, 03 Sep 2008 11:27:51 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:51743 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 1KauGs-0002DT-Ne for emacs-devel@gnu.org; Wed, 03 Sep 2008 11:27:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KauGp-0000LD-5J for emacs-devel@gnu.org; Wed, 03 Sep 2008 15:27:47 +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 ; Wed, 03 Sep 2008 15:27:47 +0000 Original-Received: from flitterio by shell01.theworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 15:27:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 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" 103477) X-Random-Quote: We're all in the gutter, but some of us are looking at the stars. -- Oscar Wilde (1854 - 1900) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:pNOmtu9pCRaLZZ3R/ZTghB+crCM= 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:103505 Archived-At: Eli Zaretskii wrote: > I have one more request, assuming you can run Emacs under a > debugger: with the above condition enabled (i.e. revert the code to > what it is in the CVS), can you please verify that lookup_account_sid > is called by `stat' exactly twice during startup: once for the user > who owns the Emacs installation tree (probably you), and one more time > for the primary group of that user. I did that, though I took a more crude approach than using a debugger: I added an fprintf() call to the end of lookup_account_sid() to display the "Name" and "DomainName" being returned. When I run "emacs -q" or "emacs -Q", lookup_account_sid() is called twice. The first call returns my user ID and domain name. The second call returns the Name "Administrators" and DomainName is NULL (I assume this references the Local Administrators group). However, that is _not_ my primary group. When I exit Emacs, there is a third call to lookup_account_sid(). It returns the Name "Domain Users" and the DomainName "CORP", which _is_ my primary group. > Thanks for working on this. No problem. -- Fran