From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Frame size changes Date: Sun, 05 Oct 2008 21:43:07 +0200 Message-ID: References: <877i8qvq5k.fsf@cyd.mit.edu> <48E5C4E5.9040400@swipnet.se> <873ajdtuhz.fsf@cyd.mit.edu> <48E7191F.7060407@swipnet.se> <87od1y99gi.fsf@cyd.mit.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223235801 31387 80.91.229.12 (5 Oct 2008 19:43:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 19:43:21 +0000 (UTC) Cc: jan.h.d@swipnet.se, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 05 21:44:20 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 1KmZWc-0005pF-IY for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2008 21:44:18 +0200 Original-Received: from localhost ([127.0.0.1]:56894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmZVY-0001x5-CP for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2008 15:43:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmZVU-0001wz-HT for emacs-devel@gnu.org; Sun, 05 Oct 2008 15:43:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmZVS-0001wn-Uq for emacs-devel@gnu.org; Sun, 05 Oct 2008 15:43:07 -0400 Original-Received: from [199.232.76.173] (port=39016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmZVS-0001wk-R3 for emacs-devel@gnu.org; Sun, 05 Oct 2008 15:43:06 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:62897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmZVR-000626-VI for emacs-devel@gnu.org; Sun, 05 Oct 2008 15:43:06 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.3.182]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K8A003PV6TSCQ02@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Sun, 05 Oct 2008 21:44:17 +0200 (IST) In-reply-to: <87od1y99gi.fsf@cyd.mit.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:104350 Archived-At: > From: Chong Yidong > Date: Sun, 05 Oct 2008 14:35:09 -0400 > Cc: emacs-devel@gnu.org > > The variable after-init-time (new to Emacs 23) is set to `current-time' > after initialization. Since it's nil during initialization, we can use > it to tell if Emacs is currently being initialized. Suppose we make > after-init-time a built-in variable. Then, make x_wm_set_size_hint a > no-op when after-init-time is nil. The result is that WM hints are not > set during initialization. If all you need is a flag saying that Emacs is being initialized, why does it have to bear the value of current-time? why not just some simple predicate? What am I missing?