From: Maciej <mkalisiak@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: color depth on Windows
Date: Thu, 18 Oct 2007 16:07:51 -0000 [thread overview]
Message-ID: <1192723671.672132.298440@v29g2000prd.googlegroups.com> (raw)
In-Reply-To: <mailman.2236.1192696566.18990.help-gnu-emacs@gnu.org>
On Oct 18, 4:35 am, "Juanma Barranquero" <lek...@gmail.com> wrote:
> You surely lack the image libraries (which are not included in the
> standard distribution). They can be downloaded from GnuWin32
> (http://gnuwin32.sourceforge.net).
>
> Take a look at http://ourcomments.org/Emacs/w32-build-emacs.html#imagesupport
>
> At that site you can also download a prebuilt binary for Windows
> (including the image libraries), with some changes with respect to the
> standard distribution. I personally don't like some of the changes,
> but many Windows users seem to consider them quite useful.
Ah, that was indeed it. I suspected the information was somewhere in
the Emacs documentation, but I was at a loss as to where to find it;
initial searches in the Emacs info pages didn't reveal anything (it
didn't help that I had a misconception of what was causing the
problem). Anyhow, for (searchable) posterity, here are the relevant
bits, hopefully these will help out others that run into this:
Relevant bit from the README file, the one that resides in same
download directory as the Windows binary ZIP file:
* Image support
Emacs 22.1 contains support for images, however for most image
formats
supporting libraries are required. This distribution has been
tested
with the libraries that are distributed with GTK for Windows, and
the
libraries found at http://gnuwin32.sourceforge.net/. The following
image
formats are supported:
PBM/PGM/PPM: Supported natively by Emacs. This format is used
for
the black and white versions of the toolbar icons.
XPM: requires a Windows port of the XPM library 3.4 or later,
which will be named xpm4.dll, libxpm-nox4.dll or
libxpm.dll. This format is used for the color versions of the
toolbar icons, and other images in Emacs.
[snipped info for remaining graphic format libraries]
Necessary steps to make the libraries available:
1. go to http://gnuwin32.sourceforge.net/packages.html
2. click on "Setup" links for "Xpm" and any other of the graphic
libraries you'd like available (i.e., those mentioned in the above
README)
3. once downloaded, run the setup programs for the libraries
4. IMPORTANT: you still have to tell Windows where to find the library
DLLs. So you need to edit the Windows PATH environment variable to
include c:\Program Files\GnuWin32\bin (you'll need to adjust the path
if you told the installers to install the libraries in a path other
than the default).
5. runemacs.exe now comes up with proper toolbars and colour gnu logo!
Afterthought: I really wish one of the opening screens of Emacs made
mention to the missing graphics libraries, in bold/red. IMHO it is a
general expectation for programs to "just work" right out-of-the -box
in Windows (whether this ideal is reached is another story), and
properly colored toolbar icons would seem like a standard/necessary
feature of any Windows program. As such, this lack of the XPM library
causes the default Emacs binary to be not fully functional, and it
would thus make sense to alert the user of the problem, and how to
solve it (in a more explicit/direct way than an optional README file).
next prev parent reply other threads:[~2007-10-18 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 15:39 color depth on Windows Maciej
2007-10-18 8:35 ` Juanma Barranquero
[not found] ` <mailman.2236.1192696566.18990.help-gnu-emacs@gnu.org>
2007-10-18 16:07 ` Maciej [this message]
2007-10-18 17:00 ` Juanma Barranquero
2007-10-19 7:29 ` Reiner Steib
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1192723671.672132.298440@v29g2000prd.googlegroups.com \
--to=mkalisiak@gmail.com \
--cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).