From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#9045: 24.0.50; Cannot display image: (Invalid image type `jpeg') Date: Mon, 22 Oct 2012 20:17:41 -0400 Message-ID: References: <8A9CE56A-3B05-4B96-8453-3910462FEB31@Freenet.DE> <87haw651d1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350951498 5600 80.91.229.3 (23 Oct 2012 00:18:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2012 00:18:18 +0000 (UTC) Cc: 9045@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 02:18:25 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQSCP-00053B-A6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2012 02:18:25 +0200 Original-Received: from localhost ([::1]:34246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQSCH-0002fv-JB for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 20:18:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQSCE-0002fj-OS for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 20:18:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQSCD-0007xH-9d for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 20:18:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQSCD-0007xC-66 for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 20:18:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQSDy-0003Br-2Y for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 20:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Oct 2012 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9045-submit@debbugs.gnu.org id=B9045.135095157312208 (code B ref 9045); Tue, 23 Oct 2012 00:20:02 +0000 Original-Received: (at 9045) by debbugs.gnu.org; 23 Oct 2012 00:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:56494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQSDV-0003Aq-4T for submit@debbugs.gnu.org; Mon, 22 Oct 2012 20:19:33 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:52183 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQSDT-0003Aj-4Y for 9045@debbugs.gnu.org; Mon, 22 Oct 2012 20:19:31 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TQSBh-0008Ux-5m; Mon, 22 Oct 2012 20:17:41 -0400 X-Spook: STARLAN MD4 secure Aladdin data haven Kh-11 enigma X-Ran: \YH_y/A+rt)KDo26_,u2`9sIJZGcUl=Ur&MYW064x4r-K1|eHX$$&(mz)('E.;=ylZeLq' X-Hue: white X-Attribution: GM In-Reply-To: <87haw651d1.fsf@gnu.org> (Chong Yidong's message of "Thu, 26 Apr 2012 16:44:10 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65888 Archived-At: Chong Yidong wrote: >> This happens because in the function `image-type', >> image-type-from-file-header returns `jpeg', and image-types has no entry >> for jpeg. > > Fixed in trunk. Problem reintroduced by 2012-06-11 change to imagemagick-register-types. Perhaps image-type-from-file-name should stop at the first _supported_ image type it finds?