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: New look for Emacs-23.0 Date: Thu, 03 Jul 2008 17:55:23 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215122146 5986 80.91.229.12 (3 Jul 2008 21:55:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 21:55:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Francesc Rocher" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 03 23:56:32 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 1KEWn1-00077h-O3 for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 23:56:32 +0200 Original-Received: from localhost ([127.0.0.1]:50513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEWmA-0005mF-Iz for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 17:55:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEWm7-0005lu-8K for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:55:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEWm5-0005ka-Oj for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:55:34 -0400 Original-Received: from [199.232.76.173] (port=35872 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEWm5-0005kX-Jg for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:55:33 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:51117) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEWm5-00082X-7v for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:55:33 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id DE5CD2CFB03; Thu, 3 Jul 2008 17:55:32 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 00C233FE0; Thu, 3 Jul 2008 17:55:24 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id DE48C12ED12; Thu, 3 Jul 2008 17:55:23 -0400 (EDT) In-Reply-To: (Francesc Rocher's message of "Sat, 28 Jun 2008 17:46:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:100309 Archived-At: > - ((and (display-color-p) > - (image-type-available-p 'xpm)) > - (if (and (fboundp 'x-display-planes) > - (= (funcall 'x-display-planes) 8)) > - "splash8.xpm" > - "splash.xpm")) > - (t "splash.pbm"))) > + ((display-color-p) > + (cond ((image-type-available-p 'svg) > + "splash.svg") > + ((image-type-available-p 'png) > + "splash.png") > + ((image-type-available-p 'xpm) > + (if (and (fboundp > 'x-display-planes) > + > (= (funcall 'x-display-planes) 8)) > + "splash8.xpm" > + "splash.xpm")))) > + (t "splash.pbm"))) This code still needs to be tuned to correctly pay attention to the color depth: testing display-planes only when we don't support SVG and PNG doesn't make any sense. Stefan