* bug#4367: 23.1; unable to view this png image @ 2009-09-07 23:37 ` Xah Lee 2009-09-09 0:20 ` Jason Rumney 2009-09-09 8:55 ` bug#4367: marked as done (23.1; unable to view this png image) Emacs bug Tracking System 0 siblings, 2 replies; 12+ messages in thread From: Xah Lee @ 2009-09-07 23:37 UTC (permalink / raw) To: bug-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 451 bytes --] attached please see a png image. when in dired, press enter to open it. it won't display as image, but displayed as text. tested this by starting with -Q. (was going to paste my M-x string here but noticed another bug that when actually in GNU emacs's Windows binary, however the version string pasted is from another emacs version that ran as server. will file another bug report on that.) Xah ∑ http://xahlee.org/ ☄ [-- Attachment #2: Xah Obj Server texture.png --] [-- Type: image/png, Size: 5006 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-07 23:37 ` bug#4367: 23.1; unable to view this png image Xah Lee @ 2009-09-09 0:20 ` Jason Rumney 2009-09-09 3:32 ` Xah Lee 2009-09-09 3:46 ` Xah Lee 2009-09-09 8:55 ` bug#4367: marked as done (23.1; unable to view this png image) Emacs bug Tracking System 1 sibling, 2 replies; 12+ messages in thread From: Jason Rumney @ 2009-09-09 0:20 UTC (permalink / raw) To: Xah Lee, 4367; +Cc: bug-gnu-emacs Xah Lee wrote: > attached please see a png image. > > when in dired, press enter to open it. > > it won't display as image, but displayed as text. Works for me with GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Perhaps you need to update your version of libpng? > (was going to paste my M-x string here but noticed another bug that > when actually in GNU emacs's Windows binary, however the version > string pasted is from another emacs version that ran as server. will > file another bug report on that.) Could it be that you are in fact using the version that was reported? Emacsclient doesn't care about versions, if it finds a server it will use it. ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-09 0:20 ` Jason Rumney @ 2009-09-09 3:32 ` Xah Lee 2009-09-09 8:42 ` Jason Rumney 2009-09-09 16:13 ` Eli Zaretskii 2009-09-09 3:46 ` Xah Lee 1 sibling, 2 replies; 12+ messages in thread From: Xah Lee @ 2009-09-09 3:32 UTC (permalink / raw) To: Jason Rumney, 4367; +Cc: bug-gnu-emacs sorry, previous report on this is a bit sloppy.... Now I realzied, that I was not able to open ANY png or jpg files. (if i realized this before, i wouldn't filed a bug report because that's prob just the way it is...) This is: GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON on the other hand, i was able to open png or jpg files using emacsW32 GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6002) of 2009-06-30 on LENNART-69DE564 (patched) > Perhaps you need to update your version of libpng? this is emacs on Windows... emacsW32 seems working fine. Not sure what you mean updating libpng, since this is on Windows, i presume any png lib is included in emacs... or, humm... does this mean if i don't have libpng program installed separated on Windows then emacs won't open image files? Xah ----- Original Message ----- From: "Jason Rumney" <jasonr@gnu.org> To: "Xah Lee" <xah@xahlee.org>; <4367@emacsbugs.donarmstrong.com> Cc: <bug-gnu-emacs@gnu.org> Sent: Tuesday, September 08, 2009 5:20 PM Subject: Re: bug#4367: 23.1; unable to view this png image > Xah Lee wrote: >> attached please see a png image. >> >> when in dired, press enter to open it. >> >> it won't display as image, but displayed as text. > > Works for me with GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 > on SOFT-MJASON > > Perhaps you need to update your version of libpng? > >> (was going to paste my M-x string here but noticed another bug that when >> actually in GNU emacs's Windows binary, however the version string pasted >> is from another emacs version that ran as server. will file another bug >> report on that.) > > Could it be that you are in fact using the version that was reported? > Emacsclient doesn't care about versions, if it finds a server it will use > it. > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-09 3:32 ` Xah Lee @ 2009-09-09 8:42 ` Jason Rumney 2009-09-09 16:13 ` Eli Zaretskii 1 sibling, 0 replies; 12+ messages in thread From: Jason Rumney @ 2009-09-09 8:42 UTC (permalink / raw) To: Xah Lee; +Cc: 4367, bug-gnu-emacs Xah Lee wrote: > This is: > GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON This is the basic precompiled Windows binary. It contains only Emacs and the libxpm library (this is an exception to the general rule that third party components are not included, since correct display of the toolbar and splash screen depends on it). > on the other hand, i was able to open png or jpg files using emacsW32 > GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6002) of 2009-06-30 on > LENNART-69DE564 (patched) That distribution of Emacs comes with a lot of third party tools that are useful alongside Emacs. Things like the image libraries, binaries of GNU find, grep, diff etc. If you still have that installed, adding the directory where all those tools are located to your system PATH will allow them to be used by both versions of Emacs. > Not sure what you mean updating libpng, since this is on Windows, i > presume any png lib is included in emacs... or, humm... does this mean > if i don't have libpng program installed separated on Windows then > emacs won't open image files? Yes. Suitable binaries for the image libraries and more are available from gnuwin32.sourceforge.net ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-09 3:32 ` Xah Lee 2009-09-09 8:42 ` Jason Rumney @ 2009-09-09 16:13 ` Eli Zaretskii 2009-09-14 19:30 ` Xah Lee 1 sibling, 1 reply; 12+ messages in thread From: Eli Zaretskii @ 2009-09-09 16:13 UTC (permalink / raw) To: Xah Lee, 4367 > From: "Xah Lee" <xah@xahlee.org> > Date: Tue, 8 Sep 2009 20:32:37 -0700 > Cc: bug-gnu-emacs@gnu.org > > Not sure what you mean updating libpng, since this is on Windows, i presume > any png lib is included in emacs... No, they are not. The only image library shipped with the precompiled binary distribution is libXpm, because without it you don't have the color icons on the toolbar buttons. The other image libraries need to be installed separately. > or, humm... does this mean if i don't > have libpng program installed separated on Windows then emacs won't open > image files? You won't be able to see PNG image files in Emacs, yes. And libpng is a DLL, not a program. See the value of image-library-alist for the possible image libraries Emacs supports for each image type. You need to have at least one installed for each type, to be able to visit images of that type ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-09 16:13 ` Eli Zaretskii @ 2009-09-14 19:30 ` Xah Lee 2009-09-14 20:02 ` Eli Zaretskii 2009-09-16 0:52 ` Stefan Monnier 0 siblings, 2 replies; 12+ messages in thread From: Xah Lee @ 2009-09-14 19:30 UTC (permalink / raw) To: Eli Zaretskii, 4367 Hi Eli & other GNU Emacs developers, perhaps this is controversial... but doesn't FSF people want GNU Emacs to be working out of the box on Windows? it is trivial to include the dll libs for images. The other recent bug is about ftp not working out of the box on GNU Emacs binary for Windows downloaded from FSF site, whereas Lennart's EmacsW32 distribution includes a Open source ftp binary that fixed the problem. I feel that it would be great for all features of emacs work out of the box as much as possible for platforms that are supported by FSF. Since FSF does develope a version of emacs that works for Windows... i don't understand if there is a reason to not include these DLLs? The only reason i can think of is that perhaps FSF prefer emacs to be work well for GNU/Linux and does not take extra steps to make it work as well for “non-free” Windows. If this is the reason to not include image library DLLs for Windows, i feel this perhaps damaging to the spread of FSF philosophy, since many Windows people who tries emacs and just find it not working in many situations. For example, Visual Basic and PHP today are perhaps the most used languages if one count the pencentage of number of programers for these langs. btw, I should mention this message is just meant to address this image dll issue pertaining this bug report, not meant to argue about philosophy or best approach to FSF philosophy. I feel that a binary version of Emacs for Windows downloaded from FSF's official site and not able to open image files is something like a show-stopper bug. Thanks. Xah ∑ http://xahlee.org/ ☄ ----- Original Message ----- From: "Eli Zaretskii" <eliz@gnu.org> To: "Xah Lee" <xah@xahlee.org>; <4367@emacsbugs.donarmstrong.com> Cc: <jasonr@gnu.org> Sent: Wednesday, September 09, 2009 9:13 AM Subject: Re: bug#4367: 23.1; unable to view this png image >> From: "Xah Lee" <xah@xahlee.org> >> Date: Tue, 8 Sep 2009 20:32:37 -0700 >> Cc: bug-gnu-emacs@gnu.org >> >> Not sure what you mean updating libpng, since this is on Windows, i >> presume >> any png lib is included in emacs... > > No, they are not. The only image library shipped with the precompiled > binary distribution is libXpm, because without it you don't have the > color icons on the toolbar buttons. The other image libraries need to > be installed separately. > >> or, humm... does this mean if i don't >> have libpng program installed separated on Windows then emacs won't open >> image files? > > You won't be able to see PNG image files in Emacs, yes. And libpng is > a DLL, not a program. > > See the value of image-library-alist for the possible image libraries > Emacs supports for each image type. You need to have at least one > installed for each type, to be able to visit images of that type ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-14 19:30 ` Xah Lee @ 2009-09-14 20:02 ` Eli Zaretskii 2009-09-15 0:07 ` Jason Rumney 2009-09-16 0:52 ` Stefan Monnier 1 sibling, 1 reply; 12+ messages in thread From: Eli Zaretskii @ 2009-09-14 20:02 UTC (permalink / raw) To: Xah Lee; +Cc: 4367 > From: "Xah Lee" <xah@xahlee.org> > Cc: <jasonr@gnu.org> > Date: Mon, 14 Sep 2009 12:30:11 -0700 > > perhaps this is controversial... but doesn't FSF people want GNU Emacs to be > working out of the box on Windows? Emacs works on Windows as well as it does on GNU/Linux. > it is trivial to include the dll libs for images. No, it isn't: there are various copyright issues, and sorting them out takes effort. Why bother if every interested user can easily download these libraries from public sites, which are advertised in nt/INSTALL? > The only reason i can think of is that perhaps FSF prefer emacs to be work > well for GNU/Linux and does not take extra steps to make it work as well for > “non-free” Windows. Emacs does not come with image libraries on GNU/Linux as well. ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-14 20:02 ` Eli Zaretskii @ 2009-09-15 0:07 ` Jason Rumney 2009-09-15 8:56 ` Lennart Borgman 0 siblings, 1 reply; 12+ messages in thread From: Jason Rumney @ 2009-09-15 0:07 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Xah Lee, 4367 Eli Zaretskii wrote: >> it is trivial to include the dll libs for images. >> > > No, it isn't: there are various copyright issues I would hope not. My reason for not including image DLLs with the official release are twofold: 1. The effort required to keep up with security bugs in at least 6 different image related libraries, and to figure out how to get all of those libraries to compile on Windows (many other ports are not as well documented and maintained as Emacs in this respect). 2. The need to include a lot of third party source on the GNU ftp server - this may make it misleading as to the origin of that source, and may invite irrelevant bug reports. I find it surprising that people have such strong views about the inability of a TEXT EDITOR to display various image formats out of the box. We ship enough third party libraries for Emacs to display all the graphical components of its own interface, isn't that enough? ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-15 0:07 ` Jason Rumney @ 2009-09-15 8:56 ` Lennart Borgman 0 siblings, 0 replies; 12+ messages in thread From: Lennart Borgman @ 2009-09-15 8:56 UTC (permalink / raw) To: Jason Rumney, 4367; +Cc: Xah Lee On Tue, Sep 15, 2009 at 2:07 AM, Jason Rumney <jasonr@gnu.org> wrote: > Eli Zaretskii wrote: >>> >>> it is trivial to include the dll libs for images. >>> >> >> No, it isn't: there are various copyright issues > > I would hope not. > > My reason for not including image DLLs with the official release are > twofold: > > 1. The effort required to keep up with security bugs in at least 6 different > image related libraries, and to figure out how to get all of those libraries > to compile on Windows (many other ports are not as well documented and > maintained as Emacs in this respect). > > 2. The need to include a lot of third party source on the GNU ftp server - > this may make it misleading as to the origin of that source, and may invite > irrelevant bug reports. > > > I find it surprising that people have such strong views about the inability > of a TEXT EDITOR to display various image formats out of the box. We ship > enough third party libraries for Emacs to display all the graphical > components of its own interface, isn't that enough? Perhaps it would be good to include libraries that allows the most common web image types (if that is possible)? ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-14 19:30 ` Xah Lee 2009-09-14 20:02 ` Eli Zaretskii @ 2009-09-16 0:52 ` Stefan Monnier 1 sibling, 0 replies; 12+ messages in thread From: Stefan Monnier @ 2009-09-16 0:52 UTC (permalink / raw) To: Xah Lee; +Cc: 4367 > it is trivial to include the dll libs for images. No it's not. We've discussed it and decided not to do it. But if you want that, there's the EmacsW32 package, which does it, IIUC. Stfean ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: 23.1; unable to view this png image 2009-09-09 0:20 ` Jason Rumney 2009-09-09 3:32 ` Xah Lee @ 2009-09-09 3:46 ` Xah Lee 1 sibling, 0 replies; 12+ messages in thread From: Xah Lee @ 2009-09-09 3:46 UTC (permalink / raw) To: Jason Rumney, 4367; +Cc: bug-gnu-emacs for what's worth, here's the error generated when trying to open a png file. File mode specification error: (error "Invalid image specification") [2 times] Note again, the problem is that i'm unable to view ANY jpg or png file, using GNU Emacs binary for Windows. Don't know if this is considered a bug or not... Xah ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#4367: marked as done (23.1; unable to view this png image) 2009-09-07 23:37 ` bug#4367: 23.1; unable to view this png image Xah Lee 2009-09-09 0:20 ` Jason Rumney @ 2009-09-09 8:55 ` Emacs bug Tracking System 1 sibling, 0 replies; 12+ messages in thread From: Emacs bug Tracking System @ 2009-09-09 8:55 UTC (permalink / raw) To: Jason Rumney [-- Attachment #1: Type: text/plain, Size: 860 bytes --] Your message dated Wed, 09 Sep 2009 16:46:24 +0800 with message-id <4AA76B60.80904@gnu.org> and subject line Re: bug#4367: 23.1; unable to view this png image has caused the Emacs bug report #4367, regarding 23.1; unable to view this png image to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 4367: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4367 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 10031 bytes --] [-- Attachment #2.1.1: Type: text/plain, Size: 451 bytes --] attached please see a png image. when in dired, press enter to open it. it won't display as image, but displayed as text. tested this by starting with -Q. (was going to paste my M-x string here but noticed another bug that when actually in GNU emacs's Windows binary, however the version string pasted is from another emacs version that ran as server. will file another bug report on that.) Xah ∑ http://xahlee.org/ ☄ [-- Attachment #2.1.2: Xah Obj Server texture.png --] [-- Type: image/png, Size: 5006 bytes --] [-- Attachment #3: Type: message/rfc822, Size: 2950 bytes --] From: Jason Rumney <jasonr@gnu.org> To: 4367-close@emacsbugs.donarmstrong.com Subject: Re: bug#4367: 23.1; unable to view this png image Date: Wed, 09 Sep 2009 16:46:24 +0800 Message-ID: <4AA76B60.80904@gnu.org> Xah Lee wrote: > Not sure what you mean updating libpng, since this is on Windows, i > presume any png lib is included in emacs... or, humm... does this mean > if i don't have libpng program installed separated on Windows then > emacs won't open image files? ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-09-16 0:52 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <4AA76B60.80904@gnu.org> 2009-09-07 23:37 ` bug#4367: 23.1; unable to view this png image Xah Lee 2009-09-09 0:20 ` Jason Rumney 2009-09-09 3:32 ` Xah Lee 2009-09-09 8:42 ` Jason Rumney 2009-09-09 16:13 ` Eli Zaretskii 2009-09-14 19:30 ` Xah Lee 2009-09-14 20:02 ` Eli Zaretskii 2009-09-15 0:07 ` Jason Rumney 2009-09-15 8:56 ` Lennart Borgman 2009-09-16 0:52 ` Stefan Monnier 2009-09-09 3:46 ` Xah Lee 2009-09-09 8:55 ` bug#4367: marked as done (23.1; unable to view this png image) Emacs bug Tracking System
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.