From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Francesc Rocher" <rocher@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: New look for Emacs-23.0
Date: Thu, 03 Jul 2008 17:55:23 -0400 [thread overview]
Message-ID: <jwvr6aafxbf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <ade856a30806280846s4ec87d24nef8d53df03847059@mail.gmail.com> (Francesc Rocher's message of "Sat, 28 Jun 2008 17:46:20 +0200")
> - ((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
next prev parent reply other threads:[~2008-07-03 21:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 15:46 New look for Emacs-23.0 Francesc Rocher
2008-06-30 10:12 ` Juanma Barranquero
2008-06-30 10:22 ` Werner LEMBERG
2008-06-30 10:24 ` Miles Bader
2008-07-01 22:30 ` Leo
2008-07-01 23:35 ` Chong Yidong
2008-07-03 19:39 ` Dmitry Dzhus
2008-07-03 21:55 ` Stefan Monnier [this message]
2008-07-07 21:28 ` Francesc Rocher
2008-07-08 1:24 ` Stefan Monnier
2008-07-16 9:56 ` Francesc Rocher
2008-07-16 16:22 ` Stefan Monnier
2008-07-18 14:25 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr6aafxbf.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=rocher@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.