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: Mon, 8 Jan 2007 21:26: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 1168288034 16639 80.91.229.12 (8 Jan 2007 20:27:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 20:27:14 +0000 (UTC) Cc: dooglus@gmail.com, emacs-devel@gnu.org, rms@gnu.org, c.a.rendle@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 08 21:27:01 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 1H4153-0006l0-22 for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 21:26:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4152-0002s0-EE for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 15:26:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H414q-0002qt-Rd for emacs-devel@gnu.org; Mon, 08 Jan 2007 15:26:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H414p-0002pe-81 for emacs-devel@gnu.org; Mon, 08 Jan 2007 15:26:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H414p-0002pT-25 for emacs-devel@gnu.org; Mon, 08 Jan 2007 15:26:39 -0500 Original-Received: from [66.249.92.173] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H414o-00073Z-2P for emacs-devel@gnu.org; Mon, 08 Jan 2007 15:26:38 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so7081732ugf for ; Mon, 08 Jan 2007 12:26:37 -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=a6Ykylf+ZUOPYY1B1dqFqMI/a3/qd7f2EP7eQoPEXb1/LEy4wccYbjF82HwHwPZHxZd6X8ovA4vMsq5Q2ftHsArFUO0L9I9ijQZXALU3dJF4qJajP5tFudqARAl/Uc16rigzuYhY8Os+ahsfxPNCGXXcyE9jI1g9DwJlcR3L6sk= Original-Received: by 10.82.169.4 with SMTP id r4mr2707512bue.1168287996987; Mon, 08 Jan 2007 12:26:36 -0800 (PST) Original-Received: by 10.82.146.7 with HTTP; Mon, 8 Jan 2007 12:26:36 -0800 (PST) Original-To: "Stefan Monnier" 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:65004 Archived-At: On 1/8/07, Stefan Monnier wrote: > After all, an inconsistently named file is generally > a sign that there's something wrong, so it's good to prompt the user > about it. That's a bit of second-guessing. We are not in the business of knowing why someone uses non-default file names. And let's not forget that a file with a .c extension containing a GIF image is absolutely, non-ambiguously a GIF, whatever the .c may seem to imply. I'm just saying that extension and contents are two ways to determine what a file is intended to be; but both aren't equally significant. /L/e/k/t/u