From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Tue, 09 Jan 2007 08:16:16 -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 1168350595 6780 80.91.229.12 (9 Jan 2007 13:49:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2007 13:49:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 09 14:49: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 1H4HMO-0008Qj-R1 for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 14:49:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4HMO-0005V5-Dc for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 08:49:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4HM0-0005Ta-7W for emacs-devel@gnu.org; Tue, 09 Jan 2007 08:49:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4HLx-0005RH-2j for emacs-devel@gnu.org; Tue, 09 Jan 2007 08:49:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4HLw-0005Qy-LJ for emacs-devel@gnu.org; Tue, 09 Jan 2007 08:49:24 -0500 Original-Received: from [207.172.157.102] (helo=smtp02.lnh.mail.rcn.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H4Gq7-0005mi-RW for emacs-devel@gnu.org; Tue, 09 Jan 2007 08:16:32 -0500 Original-Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 09 Jan 2007 08:16:31 -0500 Original-Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MTG66276; Tue, 9 Jan 2007 08:16:28 -0500 (EST) Original-Received: from 208-59-165-113.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com (HELO ACS1100007992) ([208.59.165.113]) by smtp01.lnh.mail.rcn.net with ESMTP; 09 Jan 2007 08:16:28 -0500 Original-To: emacs-devel@gnu.org In-Reply-To: (Juanma Barranquero's message of "Mon, 8 Jan 2007 21:26:36 +0100") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A09020B.45A393E6.0014,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 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:65064 Archived-At: "Juanma Barranquero" writes: > 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. It may be a GIF with an embedded virus. That is an important concern. Obviously, it would be good to allow the user to easily customize any such scheme to allow alternate file naming conventions, or to ignore file extensions. -- -- Stephe