From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Mon, 08 Jan 2007 18:32:49 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168299197 25583 80.91.229.12 (8 Jan 2007 23:33:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 23:33:17 +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 Tue Jan 09 00:33:13 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 1H43zM-0005pS-63 for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 00:33:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H43zL-0000i7-Jf for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 18:33:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H43z8-0000gp-Ny for emacs-devel@gnu.org; Mon, 08 Jan 2007 18:32:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H43z6-0000f6-Pc for emacs-devel@gnu.org; Mon, 08 Jan 2007 18:32:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H43z6-0000f1-J7 for emacs-devel@gnu.org; Mon, 08 Jan 2007 18:32:56 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H43z5-0005jq-Bz; Mon, 08 Jan 2007 18:32:55 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2DE512CF102; Mon, 8 Jan 2007 18:32:55 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 630843FE0; Mon, 8 Jan 2007 18:32:49 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 4F2CC4C6D25; Mon, 8 Jan 2007 18:32:49 -0500 (EST) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Mon\, 8 Jan 2007 21\:26\:36 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:65019 Archived-At: > 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. Actually that's not true. The nature of a file in Unix is neither determined by its name nor by its content but by what you do with it. If you pass it to `display', it's a GIF image; if you pass it to `cc' it's a C program; if you pass it to `hexl' it's a byte-stream; if you pass it to `more' it's a text file. Stefan