From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Next release Date: Wed, 07 May 2008 14:28:34 -0400 Message-ID: References: <18457.37369.262079.668907@kahikatea.snap.net.nz> <200805040056.m440u3eS022727@sallyv1.ics.uci.edu> <874p9dn46h.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210184936 30568 80.91.229.12 (7 May 2008 18:28:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 18:28:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 07 20:29:31 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 1JtoOM-0006DK-Q1 for ged-emacs-devel@m.gmane.org; Wed, 07 May 2008 20:29:27 +0200 Original-Received: from localhost ([127.0.0.1]:59557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtoNe-0006gn-J5 for ged-emacs-devel@m.gmane.org; Wed, 07 May 2008 14:28:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtoNa-0006gR-MD for emacs-devel@gnu.org; Wed, 07 May 2008 14:28:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtoNY-0006eo-2h for emacs-devel@gnu.org; Wed, 07 May 2008 14:28:38 -0400 Original-Received: from [199.232.76.173] (port=33736 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtoNX-0006eh-SZ for emacs-devel@gnu.org; Wed, 07 May 2008 14:28:35 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtoNX-00025w-U3 for emacs-devel@gnu.org; Wed, 07 May 2008 14:28:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtMEAF+RIUhMCrRp/2dsb2JhbACBUakA X-IronPort-AV: E=Sophos;i="4.27,449,1204520400"; d="scan'208";a="20031878" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 07 May 2008 14:28:34 -0400 Original-Received: from pastel.home ([76.10.180.105]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id NXJ77334; Wed, 07 May 2008 14:28:34 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4680D8E60; Wed, 7 May 2008 14:28:34 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 5 May 2008 09:43:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:96701 Archived-At: >> The multi-tty change is not different from any other: if there's a part >> which you find dubious, please bring it up here so we can fix it >> (either reverting that part of the change, or adding comments to better >> explain it, ...). >> From admin/FOR-RELEASE, Windows section: > ** libxpm is loaded too soon > Since the multi-tty merge, libxpm is loaded before the init files because > of changes in toolbar setup; that prevents using image-library-alist in > .emacs to select the desired XPM library. Reported by Takashi Hiromatsu. > http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02191.html I've just installed a change in tool-bar.el which delays the call to find-image. Instead of being called in tool-bar-setup, it's now called when looking up the tool-bar keymap. This may also allow the toolbar to use different icons on different displays (e.g. some color, some b&w) in the same Emacs instance. This probably won't fix the problem right away (after all, the toolbar is displayed before reading the .emacs, so the tool-bar filter will be triggered (and will call find-image) before the .emacs is read). But we may then just change `tool-bar-make-keymap' so it just returns nil if after-init-time is nil. I'm curious: if Emacs-22 on W32 only loads the image libraries after the .emacs, does that mean that it doesn't display the tool-bar while loading the .emacs? If this works, we may then move the call to tool-bar-setup to an even earlier place (e.g. frame-initialize or even earlier), so we can get rid of the tool-bar-setup variable. Stefan