From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#9045: 24.0.50; Cannot display image: (Invalid image type `jpeg') Date: Thu, 26 Apr 2012 16:44:10 +0800 Message-ID: <87haw651d1.fsf@gnu.org> References: <8A9CE56A-3B05-4B96-8453-3910462FEB31@Freenet.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335429929 31060 80.91.229.3 (26 Apr 2012 08:45:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 08:45:29 +0000 (UTC) Cc: 9045@debbugs.gnu.org, Joakim Verona To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 10:45:28 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 1SNKKN-00058E-5F for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 10:45:27 +0200 Original-Received: from localhost ([::1]:43984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNKKM-00081d-CS for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 04:45:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNKKD-0007xP-Lm for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 04:45:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNKK1-0004jf-Pu for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 04:45:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNKK1-0004jD-Mn for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 04:45:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SNKKw-00064S-Ne for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 04:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Apr 2012 08:46: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.133542992222176 (code B ref 9045); Thu, 26 Apr 2012 08:46:02 +0000 Original-Received: (at 9045) by debbugs.gnu.org; 26 Apr 2012 08:45:22 +0000 Original-Received: from localhost ([127.0.0.1]:53515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNKKH-0005kR-BM for submit@debbugs.gnu.org; Thu, 26 Apr 2012 04:45:22 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:40410 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNKKF-0005hd-Ib for 9045@debbugs.gnu.org; Thu, 26 Apr 2012 04:45:20 -0400 Original-Received: from [155.69.16.63] (port=45707 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SNKJI-0005Ko-2G; Thu, 26 Apr 2012 04:44:20 -0400 In-Reply-To: (Glenn Morris's message of "Tue, 12 Jul 2011 17:50:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) 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:59506 Archived-At: Glenn Morris writes: >> I have configured GNU Emacs without direct JPEG and TIFF support. >> After launching it with -Q I execute in *scratch* buffer >> >> (imagemagick-register-types) >> >> (nil is returned). When I view from dired file.jpeg, then only its >> bytes are displayed in a (Fundamental Image View) buffer. In >> *Messages* buffer >> >> Cannot display image: (Invalid image type `jpeg') > > 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.