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: Image mode Date: Wed, 07 Feb 2007 16:21:40 -0500 Message-ID: References: <87k5yxeg19.fsf@jurta.org> <873b5h4vv7.fsf@stupidchicken.com> <39521.128.165.123.18.1170877435.squirrel@webmail.lanl.gov> <87ps8l65hb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170883338 6909 80.91.229.12 (7 Feb 2007 21:22:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2007 21:22:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 07 22:22:14 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 1HEuEt-0003hf-Pf for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 22:22:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEuEt-0007gj-8v for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 16:22:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEuEh-0007d5-6c for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:21:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEuEe-0007bT-Qm for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:21:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEuEe-0007bQ-K9 for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:21:48 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HEuEe-00089G-8S for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:21:48 -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 D6D912CEB67; Wed, 7 Feb 2007 16:21:47 -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 25CE13FE0; Wed, 7 Feb 2007 16:21:40 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 122C94C6D25; Wed, 7 Feb 2007 16:21:40 -0500 (EST) In-Reply-To: <87ps8l65hb.fsf@stupidchicken.com> (Chong Yidong's message of "Wed\, 07 Feb 2007 16\:08\:16 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (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-detected-kernel: Linux 2.6 (newer, 3) 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:66087 Archived-At: >>> Thirdly, make the function image-type-auto-detected-p scan >>> auto-mode-alist for a non-image-mode match, and returns nil if one is >>> found. >> >> This should return nil unless auto-mode-alist suggests image mode, not >> just nil if it suggests something else. > No, this would mean that files with extension .JPG will not be opened > in image mode. That was the original complaint that started this > thread :-P So set auto-mode-case-fold to t and we're set ;-) Stefan