From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Wed, 10 Jan 2007 00:31:36 +0100 Message-ID: References: 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 1168385516 10585 80.91.229.12 (9 Jan 2007 23:31:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2007 23:31:56 +0000 (UTC) Cc: Stephen Leake , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 00:31:54 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 1H4QRc-0002eY-52 for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2007 00:31:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4QRb-0006j4-NG for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 18:31:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4QRQ-0006iz-A3 for emacs-devel@gnu.org; Tue, 09 Jan 2007 18:31:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4QRN-0006in-Ua for emacs-devel@gnu.org; Tue, 09 Jan 2007 18:31:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4QRN-0006ik-P8 for emacs-devel@gnu.org; Tue, 09 Jan 2007 18:31:37 -0500 Original-Received: from [66.249.92.169] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H4QRN-0007ZE-D6 for emacs-devel@gnu.org; Tue, 09 Jan 2007 18:31:37 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so7486624ugf for ; Tue, 09 Jan 2007 15:31:36 -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=kkAYs+Gotq/SFaRhQZR53UPpAB6SrzNdpuX9zI+5wxdJMX2V3Tu1GoNHiTPKsWfRKxNdkOWhlBjevKr9SGoPtmtMsi/+heYievl4CIIPUbRQ4D2hAHC93w2XZHm2OmC9J6KLGRTsQzlbqO+pq3T0de5/0mYNs5lj92DLrKs4ADc= Original-Received: by 10.82.182.8 with SMTP id e8mr2664490buf.1168385496554; Tue, 09 Jan 2007 15:31:36 -0800 (PST) Original-Received: by 10.82.146.7 with HTTP; Tue, 9 Jan 2007 15:31:36 -0800 (PST) Original-To: "Chris Moore" 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:65091 Archived-At: On 1/9/07, Chris Moore wrote: > I don't think we should make the same mistake that Windows makes of > silently ignoring the file extension. OK. You're proposing a new feature, unrelated to image auto-detection via contents. Currently, `set-auto-mode' sets the mode to `image-mode' (via `auto-mode-alist'), and then the image handling code (image.el, image-file.el, etc.) decides the correct image type. /L/e/k/t/u