From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: JPG display bug Date: Mon, 20 Aug 2007 21:45:41 +0200 Message-ID: <87y7g6rnve.fsf@escher.local.home> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187639175 12016 80.91.229.12 (20 Aug 2007 19:46:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2007 19:46:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 20 21:46:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INDCV-00074y-6z for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 21:46:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INDCV-00043K-79 for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 15:46:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INDCR-0003zy-Hc for emacs-devel@gnu.org; Mon, 20 Aug 2007 15:46:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INDCQ-0003w3-07 for emacs-devel@gnu.org; Mon, 20 Aug 2007 15:46:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INDCP-0003vp-ST for emacs-devel@gnu.org; Mon, 20 Aug 2007 15:46:05 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INDCO-00074W-VG for emacs-devel@gnu.org; Mon, 20 Aug 2007 15:46:05 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INDCE-0007hU-Ug for emacs-devel@gnu.org; Mon, 20 Aug 2007 21:45:55 +0200 Original-Received: from i577bc20b.versanet.de ([87.123.194.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2007 21:45:54 +0200 Original-Received: from Stephen.Berman by i577bc20b.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2007 21:45:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc20b.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76859 Archived-At: On Mon, 20 Aug 2007 14:30:52 -0400 Richard Stallman wrote: > The JPEG image in this message > did not display as an image in Emacs. It gives > > File mode specification error: (error "Invalid image type `jpeg'") How did you try to view it? I was able to display it: I copied the base64-encoded attachment to a buffer, in that buffer did `C-x h' and then `M-x base64-decode-region' and got what looked like a raw JPEG file. Then I did `C-x C-w' and at the prompt entered "/tmp/test.jpg". After typing RET, the raw data was immediately replaced by an image. Steve Berman