From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71882 Path: news.gmane.org!not-for-mail From: Knut Anders Hatlen Newsgroups: gmane.emacs.gnus.general Subject: Problem with inlined unsupported image types Date: Sun, 26 Sep 2010 20:37:10 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285526251 25968 80.91.229.12 (26 Sep 2010 18:37:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 18:37:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20255@lists.math.uh.edu Sun Sep 26 20:37:30 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozw6L-0005d4-Mc for ding-account@gmane.org; Sun, 26 Sep 2010 20:37:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ozw6H-0000jJ-Di; Sun, 26 Sep 2010 13:37:25 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ozw6F-0000j3-Fz for ding@lists.math.uh.edu; Sun, 26 Sep 2010 13:37:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ozw6E-0007Ot-7B for ding@lists.math.uh.edu; Sun, 26 Sep 2010 13:37:23 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ozw6D-00038g-00 for ; Sun, 26 Sep 2010 20:37:21 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ozw6C-0005bL-OA for ding@gnus.org; Sun, 26 Sep 2010 20:37:20 +0200 Original-Received: from gw2.mysql.com ([213.136.52.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 20:37:20 +0200 Original-Received: from kahatlen by gw2.mysql.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 20:37:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw2.mysql.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (usg-unix-v) Cancel-Lock: sha1:QXyLprNRu8OoDMajAsDKjMPK9xA= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71882 Archived-At: Hi, I have an Emacs that's compiled with --without-gif (it's the Emacs that comes with Solaris). If an HTML mail contains a remote gif image and I press W D W, an icon that illustrates a broken image is shown (well, actually, it illustrates a broken lock, but that's close enough, I suppose...). That's fine, of course. But if the HTML mail contains an inlined gif image, I get the error "Invalid image type `gif'", and the mail is shown in raw format. Here's the backtrace: Debugger entered--Lisp error: (error "Invalid image type `gif'") signal(error ("Invalid image type `gif'")) error("Invalid image type `%s'" gif) image-type("GIF89ar...." nil t) create-image("GIF89ar...." nil t) apply(create-image "GIF89ar...." nil t nil) gnus-create-image("GIF89ar...." nil t) gnus-html-wash-images() gnus-html-wash-tags() gnus-article-html((#> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil)) I suppose we should somehow detect if the image type is supported and make the same thing happen with inlined images as with remote images? -- Knut Anders