From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel Subject: Re: Image file name extension not recognized Date: Fri, 02 Feb 2007 23:18:40 -0200 Message-ID: <45C3E2F0.2070506@ig.com.br> References: <45C3DC03.6010000@ig.com.br> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170465468 5789 80.91.229.12 (3 Feb 2007 01:17:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Feb 2007 01:17:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 03 02:17:42 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 1HD9XB-0007zY-SE for ged-emacs-devel@m.gmane.org; Sat, 03 Feb 2007 02:17:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HD9XB-0007tV-CF for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2007 20:17:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HD9Wy-0007tP-Do for emacs-devel@gnu.org; Fri, 02 Feb 2007 20:17:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HD9Ww-0007tD-1s for emacs-devel@gnu.org; Fri, 02 Feb 2007 20:17:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HD9Wv-0007tA-RF for emacs-devel@gnu.org; Fri, 02 Feb 2007 20:17:25 -0500 Original-Received: from smtpout13.uol.com.br ([200.221.4.208] helo=smtp.uol.com.br) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HD9Wv-0001Bp-CG for emacs-devel@gnu.org; Fri, 02 Feb 2007 20:17:25 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by socom7.uol.com.br (Postfix) with ESMTP id 324991F62; Fri, 2 Feb 2007 22:17:24 -0300 (BRT) Original-Received: from [201.82.35.154] (unknown [201.82.35.154]) by socom7.uol.com.br (Postfix) with ESMTP id DAC641E80; Fri, 2 Feb 2007 22:17:22 -0300 (BRT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 In-Reply-To: X-SIG5: a39e4a14617603bf59872c2e67cb1572 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:65804 Archived-At: Juanma Barranquero wrote: > On 2/3/07, Vinicius Jose Latorre wrote: > >> Shouldn't Emacs recognize files with .JPG extension as an image file? > > If you load the file and execute "M-: (set-auto-mode) RET", does it > return `image-mode-maybe'? And does running `image-mode-maybe' on this > buffer turn image-mode on? > > /L/e/k/t/u Executing M-: (set-auto-mode) RET , return nil. Executing M-x image-mode RET , turn image-mode on. BTW, the very first characters in the file are: \377\330\377\341^S\376Exif^@^@II*^@^H^@^@^@