From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23689: Daemon-mode on Windows - "w32-initialized" is set too early Date: Sat, 04 Jun 2016 13:58:20 +0300 Message-ID: <83shwtusoj.fsf@gnu.org> References: <8337otw9m0.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465037966 3991 80.91.229.3 (4 Jun 2016 10:59:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2016 10:59:26 +0000 (UTC) Cc: 23689@debbugs.gnu.org To: Paul Moore Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 04 12:59:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b99IQ-0004hS-NQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2016 12:59:14 +0200 Original-Received: from localhost ([::1]:60296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99IP-0004OE-PF for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2016 06:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99IJ-0004MK-VQ for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2016 06:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b99IE-0000DB-2T for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2016 06:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99ID-0000D1-Vz for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2016 06:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b99ID-00087J-Qd for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2016 06:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jun 2016 10:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23689 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23689-submit@debbugs.gnu.org id=B23689.146503788331104 (code B ref 23689); Sat, 04 Jun 2016 10:59:01 +0000 Original-Received: (at 23689) by debbugs.gnu.org; 4 Jun 2016 10:58:03 +0000 Original-Received: from localhost ([127.0.0.1]:53769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b99HH-00085c-EW for submit@debbugs.gnu.org; Sat, 04 Jun 2016 06:58:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b99HG-000857-LQ for 23689@debbugs.gnu.org; Sat, 04 Jun 2016 06:58:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b99H6-0008Sa-Oq for 23689@debbugs.gnu.org; Sat, 04 Jun 2016 06:57:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99H6-0008ST-LQ; Sat, 04 Jun 2016 06:57:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2524 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b99H4-00061h-TE; Sat, 04 Jun 2016 06:57:51 -0400 In-reply-to: (message from Paul Moore on Sat, 4 Jun 2016 11:29:28 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119047 Archived-At: > From: Paul Moore > Date: Sat, 4 Jun 2016 11:29:28 +0100 > Cc: 23689@debbugs.gnu.org > > > It looks like this is an internal variable whose purpose is to make > > sure the w32 GUI initialization code is called only once per session; > > it shouldn't be used for any other purpose. I guess we could make > > this more explicit in the doc string, but other than that I see no bug > > here. > > OK. The spacemacs initialisation code uses this variable (along with > ns-initialized and x-initialized) to ensure that certain actions (e.c. > find-font) are only run after the display is initialized. It's only > w32-initialized for which this approach doesn't work. Is there a > better way of testing for this situation that should be used? Frankly, I'm not sure what is the situation for which you want to test. Can you describe the original problem in more detail?