From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Mon, 08 Jan 2007 00:32:43 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1168234408 21545 80.91.229.12 (8 Jan 2007 05:33:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 05:33:28 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, c.a.rendle@gmail.com, dooglus@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 08 06:33:25 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 1H3n8N-00059K-NE for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 06:33:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3n8N-0007gL-4F for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 00:33:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3n8C-0007e8-6W for emacs-devel@gnu.org; Mon, 08 Jan 2007 00:33:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3n8A-0007cf-Nr for emacs-devel@gnu.org; Mon, 08 Jan 2007 00:33:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3n8A-0007ca-IP for emacs-devel@gnu.org; Mon, 08 Jan 2007 00:33:10 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3n8A-0000bz-C3 for emacs-devel@gnu.org; Mon, 08 Jan 2007 00:33:10 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H3n7j-0003vK-7u; Mon, 08 Jan 2007 00:32:43 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sun, 07 Jan 2007 00:36:56 -0500) 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:64952 Archived-At: > The reason I decided to detect images by their contents > rather than by their file names is that it seems more correct > as a way of recognizing them. Why does it seem that way to you? The whole point of a magic number is to recognize the file type from its contents, regardless of file name.