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: Where is the frame resized after startup? Date: Mon, 22 Jan 2007 23:16:58 +0200 Message-ID: References: <45B3FAEC.3030904@student.lu.se> <45B3FE4B.6010009@gmail.com> <45B491E4.2010508@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1169500828 3756 80.91.229.12 (22 Jan 2007 21:20:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 21:20:28 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 22 22:20:19 2007 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 1H96XU-0005qi-Pd for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 22:17:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H96XU-0005Wp-8e for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 16:17:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H96XE-0005Uf-Ro for emacs-devel@gnu.org; Mon, 22 Jan 2007 16:17:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H96XC-0005NW-5y for emacs-devel@gnu.org; Mon, 22 Jan 2007 16:17:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H96XB-0005N1-VH for emacs-devel@gnu.org; Mon, 22 Jan 2007 16:16:57 -0500 Original-Received: from [213.8.233.22] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H96XB-0000w9-Is for emacs-devel@gnu.org; Mon, 22 Jan 2007 16:16:57 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-248-28.inter.net.il [83.130.248.28]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id FVU60502 (AUTH halo1); Mon, 22 Jan 2007 23:16:52 +0200 (IST) Original-To: "Lennart Borgman (gmail)" In-reply-to: <45B491E4.2010508@gmail.com> (lennart.borgman@gmail.com) 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:65388 Archived-At: > Date: Mon, 22 Jan 2007 11:28:52 +0100 > From: "Lennart Borgman (gmail)" > CC: lekktu@gmail.com, emacs-devel@gnu.org > > > > What do you mean by ``after all startup code has run'', exactly? > > > Yes, that was a bit unclear. In this case I meant "after creation and > sizing of the first frame". Assuming that window-setup-hook is not good for that, perhaps you can explain why you need that hook to run after sizing of the initial frame and no earlier. One idea to try is inside window-setup-hook put a function into after-make-frame-functions. That function should do whatever you want to do after initial frame is created, then remove itself from after-make-frame-functions.