From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: Image mode Date: Fri, 9 Feb 2007 10:14:31 -0800 (PST) Message-ID: <42364.128.165.123.18.1171044871.squirrel@webmail.lanl.gov> References: <87k5yxeg19.fsf@jurta.org> <87iregmafd.fsf@stupidchicken.com> <86irefojcc.fsf@lola.quinscape.zz> <86tzxzn0bx.fsf@lola.quinscape.zz> <86ps8nmy95.fsf@lola.quinscape.zz> <86d54nmve9.fsf@lola.quinscape.zz> <868xfbmthh.fsf@lola.quinscape.zz> <39229.128.165.123.18.1170864622.squirrel@webmail.lanl.gov> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1171044897 18304 80.91.229.12 (9 Feb 2007 18:14:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 18:14:57 +0000 (UTC) Cc: lekktu@gmail.com, cyd@stupidchicken.com, Richard Stallman , emacs-devel@gnu.org To: "Chris Moore" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 09 19:14:50 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 1HFaGm-0008TR-QB for ged-emacs-devel@m.gmane.org; Fri, 09 Feb 2007 19:14:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFaGm-0003Fv-7w for ged-emacs-devel@m.gmane.org; Fri, 09 Feb 2007 13:14:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFaGb-0003Dl-FL for emacs-devel@gnu.org; Fri, 09 Feb 2007 13:14:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFaGZ-0003DM-QS for emacs-devel@gnu.org; Fri, 09 Feb 2007 13:14:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFaGZ-0003DJ-Lk for emacs-devel@gnu.org; Fri, 09 Feb 2007 13:14:35 -0500 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HFaGY-0007yK-Cs; Fri, 09 Feb 2007 13:14:34 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l19IEWjB018644; Fri, 9 Feb 2007 11:14:32 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l19IEV92005035; Fri, 9 Feb 2007 11:14:31 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l19IEVLJ019146; Fri, 9 Feb 2007 11:14:31 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l19IEVhb019144; Fri, 9 Feb 2007 10:14:31 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Fri, 9 Feb 2007 10:14:31 -0800 (PST) In-Reply-To: User-Agent: SquirrelMail/1.4.8-2.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-detected-kernel: Linux 2.4-2.6 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:66182 Archived-At: >> Finally, the ".txt" extension here could just as easily be ".png"; if >> the >> image is in fact a JPEG, we have the case where a user has just patched >> their PNG library but not their JPEG library. I suppose that it is more >> common to merely distinguish images from not, > > What about files with extensions of ".blah"? If they contain image > data, are they misnamed? I would expect to be safe opening a .blah > file, knowing that it's not a recognised extension, I feel safe > knowing it'll be opening in fundamental-mode. It seems several people > on the list would rather display this .blah file as an image. As I said in my reply to Chong (or, pardon me, is it Yidong?)'s suggestion, I think that failed matches in auto-mode-alist -- that is, files like .blah that would generate Fundamental Mode -- should be treated as are files that match something in auto-mode-alist but not an image mode. (And perhaps, again, as should be files that match an image mode but not the right type of image.) Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.