GNU bug report logs -
#942
NTEmacs hangs with cygwin\usr\X11R6\bin\libXpm.dll
Previous Next
Reported by: "Joshua S." <viking_r <at> george24.com>
Date: Tue, 9 Sep 2008 10:25:04 UTC
Severity: normal
Tags: notabug, wontfix
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 942 in the body.
You can then email your comments to 942 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joshua S." <viking_r <at> george24.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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")
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Juanma Barranquero" <lekktu <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 942 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Tue, Sep 9, 2008 at 12:19, Joshua S. <viking_r <at> george24.com> wrote:
> Xpm enabled NTEmacs hangs if your %PATH% includes cygwin\usr\X11R6\bin.
It is better not to have a cygwin binary directory in Emacs' PATH. If
you don't want to mess the system or user PATH variables for Emacs,
you can define your own PATH variable as a value in the registry (in
key HKLM\Software\GNU\Emacs), and Emacs (the Windows port, at least)
will obey it.
> 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.
libxpm.dll and libxpm-nox4.dll are not "cygwin DLLs". There are
MinGW-compiled versions of both.
You can also modify `image-library-alist' in your path. There's no
need to change the default value.
Juanma
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Juanma Barranquero" <lekktu <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at 942 <at> emacsbugs.donarmstrong.com (full text, mbox):
> You can also modify `image-library-alist' in your path. There's no
s/path/.emacs/
Juanma
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joshua S." <viking_r <at> george24.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #20 received at 942 <at> emacsbugs.donarmstrong.com (full text, mbox):
Thanks.
> It is better not to have a cygwin binary directory in Emacs' PATH.
It may need a special notice about this when you distribute xpm-enabled
NTEmacs binaries.
I know a few users who get into this trouble.
>> You can also modify `image-library-alist' in your path. There's no
> s/path/.emacs/
This does not work when I do "make bootstrap".
I will do the registry thing. Thank you for information.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joshua S." <viking_r <at> george24.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #25 received at 942 <at> emacsbugs.donarmstrong.com (full text, mbox):
> you can define your own PATH variable as a value in the registry (in
> key HKLM\Software\GNU\Emacs), and Emacs (the Windows port, at least)
> will obey it.
>
It does not work.
Quick look at init_environment() in w32.c, it seems Emacs does not look
for PATH.
Anyway, I can overcome the problem on my own, just end users' sake.
Thanks.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#942
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Juanma Barranquero" <lekktu <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #30 received at 942 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Tue, Sep 9, 2008 at 13:58, Joshua S. <viking_r <at> george24.com> wrote:
> It may need a special notice about this when you distribute xpm-enabled
> NTEmacs binaries.
> I know a few users who get into this trouble.
Perhaps it would be worth noting it somewhere, but the trouble is not
Emacs-specific. Other MinGW-built free software using image libraries
could fall in the same trap.
>>> You can also modify `image-library-alist' in your path. There's no
>
>> s/path/.emacs/
>
> This does not work when I do "make bootstrap".
True. This could be circumvented with "make PATH=... bootstrap", but
again, it is best not to have Cygwin in the path (or, at the very
least, not before the Emacs binary directory) unless needed.
> I will do the registry thing. Thank you for information.
> It does not work.
Yes, you're right. I misremembered that Emacs looks for HOME. Sorry.
Juanma
bug reassigned from package `emacs' to `emacs,w32'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 10 Sep 2008 20:55:07 GMT)
Full text and
rfc822 format available.
Tags added: notabug, wontfix
Request was from
"Juanma Barranquero" <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Dec 2008 07:00:40 GMT)
Full text and
rfc822 format available.
Tags added: notabug, wontfix
Request was from
"Juanma Barranquero" <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Dec 2008 07:05:24 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
942 <at> debbugs.gnu.org and "Joshua S." <viking_r <at> george24.com>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Jul 2011 00:31:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 25 Aug 2011 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.