From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Image mode Date: Mon, 05 Feb 2007 12:48:02 +0100 Message-ID: <86abzsq0zx.fsf@lola.quinscape.zz> References: <87k5yxeg19.fsf@jurta.org> <45C70ECD.70208@gmail.com> <86ejp4q1zn.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170676122 21347 80.91.229.12 (5 Feb 2007 11:48:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2007 11:48:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 05 12:48:36 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 1HE2Kp-0001pw-IV for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2007 12:48:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HE2Ko-0001LP-NC for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2007 06:48:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HE2Kc-0001L5-Os for emacs-devel@gnu.org; Mon, 05 Feb 2007 06:48:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HE2KY-0001Ks-Q9 for emacs-devel@gnu.org; Mon, 05 Feb 2007 06:48:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HE2KY-0001Kp-KY for emacs-devel@gnu.org; Mon, 05 Feb 2007 06:48:18 -0500 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HE2KY-0003qj-1n for emacs-devel@gnu.org; Mon, 05 Feb 2007 06:48:18 -0500 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id MAA04364 for ; Mon, 5 Feb 2007 12:48:10 +0100 X-Delivered-To: Original-Received: (qmail 21267 invoked from network); 5 Feb 2007 11:48:13 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 5 Feb 2007 11:48:13 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 1301EC2B75; Mon, 5 Feb 2007 12:48:02 +0100 (CET) In-Reply-To: (Juanma Barranquero's message of "Mon\, 5 Feb 2007 12\:39\:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:65912 Archived-At: "Juanma Barranquero" writes: > On 2/5/07, David Kastrup wrote: > >> Files for which the user is likely surprised that they are image >> files. It seems like inappropriate file extensions (either those >> suggesting a different major mode, or those suggesting nothing at all) >> would be a good indicator. > > OK, but then we go back to the start: JPG, JPEG, TIF, TIFF, PNG, GIF, > XBM, etc. are also valid image extensions, not only their downcased > variants. image-file-name-extensions could be matched independent of case. Maybe this would even be a workable idea for auto-mode-alist (there are actually rather few extensions, like ".Z", where there would be some argument against it). -- David Kastrup