all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Pablo Mercader Alcántara" <programingfrik@gmail.com>
Cc: 21203@debbugs.gnu.org
Subject: bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1
Date: Fri, 07 Aug 2015 17:09:19 +0300	[thread overview]
Message-ID: <83wpx7qjg0.fsf@gnu.org> (raw)
In-Reply-To: <CAPQ4eMJJjFMa3GonXxQza0KWUZHHUSnVaO99KRUi0qBxjRuC=A@mail.gmail.com>

> Date: Fri, 7 Aug 2015 09:24:19 -0400
> From: Pablo Mercader Alcántara <programingfrik@gmail.com>
> 
> >
> > What image support libraries do you have installed, and where did you
> > get them?
> 
> I didn't install any image libraries myself (that I'm aware of) but I
> use a lot of FLOSS on this Windows PC so I wouldn't be surprised that
> some other program installed some image library.
> 
> Some programs that I think that could install image libraries:
>  - Gtk # and Monodevelop (xamarin studio)
>  - Cygwin with the X server
>  - Gimp
>  - Inkscape
>  - vlc
> 
> What image libraries should I look for?

You can see what the startup screen does in startup.el, by looking at
the function fancy-splash-image-file:

  (defun fancy-splash-image-file ()
    (cond ((stringp fancy-splash-image) fancy-splash-image)
	  ((display-color-p)
	   (cond ((<= (display-planes) 8)
		  (if (image-type-available-p 'xpm)
		      "splash.xpm"
		    "splash.pbm"))
		 ((or (image-type-available-p 'svg)
		      (image-type-available-p 'imagemagick))
		  "splash.svg")
		 ((image-type-available-p 'png)
		  "splash.png")
		 ((image-type-available-p 'xpm)
		  "splash.xpm")
		 (t "splash.pbm")))
	  (t "splash.pbm")))

As you see, it tries the SVG images first, then PNG, then XPM.  So
this is the order you should look at your image libraries.

But first, I suggest to try invoking Emacs like this:

  emacs -q --eval "(setq fancy-splash-image \"splash.xpm\")"

and then try invoking 'about-emacs'.  If Emacs still hangs, my guess
was wrong, and the image libraries are probably not your problem.

> I thought that emacs windows binary came with all it's libraries

No, it comes only with libXpm.  The other image support libraries you
need to install yourself.  See the file README.W32 in the distribution
for the recommended sites from which to download them.

> but if the problem is some kind of shared image library shouldn't
> emacs 24.3 freeze as well?

It could very well be that Emacs 24.3 you installed was built without
support for the library that gives you trouble, in which case Emacs
won't try using it.

You can see which libraries are available by evaluating the
following expressions:

  M-: (image-type-available-p 'svg)
  M-: (image-type-available-p 'png)
  M-: (image-type-available-p 'xpm)

This should yield t if the support was compiled into Emacs _and_ the
corresponding libraries are found, else it will yield nil.





  reply	other threads:[~2015-08-07 14:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 23:41 bug#21203: 24.5; about-emacs makes emacs freeze on windows 8.1 Pablo Mercader Alcántara
2015-08-07  6:42 ` Eli Zaretskii
2015-08-07 13:24   ` Pablo Mercader Alcántara
2015-08-07 14:09     ` Eli Zaretskii [this message]
2015-08-13 21:06       ` Pablo Mercader Alcántara
2015-08-14  6:48         ` Eli Zaretskii
2015-09-30  7:49           ` Eli Zaretskii
2015-10-02 15:14             ` Pablo Mercader Alcántara
2015-11-24 20:42               ` Pablo Mercader Alcántara
2015-11-24 20:51                 ` Eli Zaretskii

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=83wpx7qjg0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21203@debbugs.gnu.org \
    --cc=programingfrik@gmail.com \
    /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.