all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Joshua S." <viking_r@george24.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#942: NTEmacs hangs with cygwin\usr\X11R6\bin\libXpm.dll
Date: Tue, 09 Sep 2008 19:19:06 +0900	[thread overview]
Message-ID: <48C64D9A.8090004@george24.com> (raw)

Xpm enabled NTEmacs hangs if your %PATH% includes cygwin\usr\X11R6\bin.
LoadLibrary("libxpm.dll") never returns in w32_delayed_load() in 
src/image.c.

Since the most cygwin DLLs are not meant to be loaded by non-cygwin apps 
(if you do, they hang),
I suggest we simply remove "libxpm.dll" and "libXpm-nox4.dll" from 
image-library-alist.
(AFAIK Emacs on Cygwin does not use this variable.)

Index: lisp/term/w32-win.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/term/w32-win.el,v
retrieving revision 1.105
diff -u -d -w -r1.105 w32-win.el
--- lisp/term/w32-win.el    11 Aug 2008 01:23:07 -0000    1.105
+++ lisp/term/w32-win.el    9 Sep 2008 10:03:39 -0000
@@ -199,7 +199,7 @@

  ;;; Set default known names for image libraries
  (setq image-library-alist
-      '((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
+      '((xpm "xpm4.dll")
          (png "libpng12d.dll" "libpng12.dll" "libpng.dll"
       ;; these are libpng 1.2.8 from GTK+
       "libpng13d.dll" "libpng13.dll")









             reply	other threads:[~2008-09-09 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 10:19 Joshua S. [this message]
2008-09-09 10:59 ` bug#942: NTEmacs hangs with cygwin\usr\X11R6\bin\libXpm.dll Juanma Barranquero
2008-09-09 11:00   ` Juanma Barranquero
2008-09-09 11:58   ` Joshua S.
2008-09-09 13:37     ` Juanma Barranquero
2008-09-09 13:13   ` Joshua S.

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=48C64D9A.8090004@george24.com \
    --to=viking_r@george24.com \
    --cc=942@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@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.
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.