Gnus development mailing list
 help / color / mirror / Atom feed
From: Knut Anders Hatlen <kahatlen@gmail.com>
To: ding@gnus.org
Subject: Problem with inlined unsupported image types
Date: Sun, 26 Sep 2010 20:37:10 +0200	[thread overview]
Message-ID: <x6hbhcz6zt.fsf@gmail.com> (raw)

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((#<buffer  *mm*<4>> ("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




             reply	other threads:[~2010-09-26 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-26 18:37 Knut Anders Hatlen [this message]
2010-09-26 18:41 ` Lars Magne Ingebrigtsen
2010-09-26 19:01   ` Knut Anders Hatlen

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=x6hbhcz6zt.fsf@gmail.com \
    --to=kahatlen@gmail.com \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).