From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Sun, 7 Jan 2007 17:50:46 +0100 Message-ID: <7dbe73ed0701070850v5c48a4faj300c5f9254dd1d59@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168188697 27232 80.91.229.12 (7 Jan 2007 16:51:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 16:51:37 +0000 (UTC) Cc: Chris Moore , emacs-devel@gnu.org, Stefan Monnier , Charles Rendleman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 17:51:32 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 1H3bEd-0000CZ-Cy for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 17:51:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3bEc-0004Rn-Vu for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 11:51:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3bET-0004Ra-CM for emacs-devel@gnu.org; Sun, 07 Jan 2007 11:50:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3bER-0004RO-Kt for emacs-devel@gnu.org; Sun, 07 Jan 2007 11:50:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3bER-0004RL-HS for emacs-devel@gnu.org; Sun, 07 Jan 2007 11:50:51 -0500 Original-Received: from [66.249.92.175] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3bER-0000XJ-3y for emacs-devel@gnu.org; Sun, 07 Jan 2007 11:50:51 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so6757297ugf for ; Sun, 07 Jan 2007 08:50:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E6xht07BcIc/QamErgo6BfVq4X+7C/pwPu080NxGue7QtsFIMfQ+JMKd5nPJ4fT0QSN2dmsCQP7TDvLrF6Z3RyhM2hfO5WAVEodahiSv6j/oW2h7D5geYGbbF6aCPKqT999PT4VbKUm4w5k00QhyhofYCI10De2VPDN4aqrADWU= Original-Received: by 10.78.204.20 with SMTP id b20mr5227234hug.1168188647060; Sun, 07 Jan 2007 08:50:47 -0800 (PST) Original-Received: by 10.78.12.17 with HTTP; Sun, 7 Jan 2007 08:50:46 -0800 (PST) Original-To: "Juanma Barranquero" In-Reply-To: Content-Disposition: inline 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:64922 Archived-At: > ... but detecting images in > magic-mode-alist was done because someone requested having .JPG images > without the extension (thumbnails for .MPG videos, I think) > auto-detected by Emacs. This is worthwhile. Whether it should be > default or not is another issue It was me that mentioned that I liked that Emacs recognized that a .thm file (in my case) was actually a JPEG file, and that I found that conventient. I did not think about the security implications. I would still find it convenient if there was a confirmation (as per the different suggestions where the file extension does not seem to match the file format).