From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Where is the frame resized after startup? Date: Mon, 22 Jan 2007 02:32:58 +0100 Message-ID: <45B4144A.5020902@gmail.com> References: <45B3FAEC.3030904@student.lu.se> <45B3FE4B.6010009@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169429596 4766 80.91.229.12 (22 Jan 2007 01:33:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 01:33:16 +0000 (UTC) Cc: Juanma Barranquero , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 22 02:33:14 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 1H8o3d-0000ow-LT for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 02:33:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8o3d-0002VB-5E for ged-emacs-devel@m.gmane.org; Sun, 21 Jan 2007 20:33:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8o3O-0002QX-Bu for emacs-devel@gnu.org; Sun, 21 Jan 2007 20:32:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8o3O-0002Po-0A for emacs-devel@gnu.org; Sun, 21 Jan 2007 20:32:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8o3N-0002Pj-NW for emacs-devel@gnu.org; Sun, 21 Jan 2007 20:32:57 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H8o3N-0004Rh-9r for emacs-devel@gnu.org; Sun, 21 Jan 2007 20:32:57 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:60139 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1H8o3L-0003oN-8b; Mon, 22 Jan 2007 02:32:56 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: "Lennart Borgman (gmail)" In-Reply-To: <45B3FE4B.6010009@gmail.com> X-Antivirus: avast! (VPS 000704-0, 2007-01-18), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1H8o3L-0003oN-8b. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1H8o3L-0003oN-8b 26d7214a0b8fbaebfd767c887a3037df 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:65366 Archived-At: Lennart Borgman (gmail) wrote: > However after some more testing I found that run-with-idle-timer now > works as I expect it to do and that can be used to run code after all > startup code has run. And that was too quick. It depends on what my pc is doing perhaps. My workaround is using one of the last hooks run at startup and then doing something like (run-with-idle-time 2 nil 'what-i-want)