From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Image mode Date: Tue, 06 Feb 2007 11:08:05 -0500 Message-ID: <87ejp3e0be.fsf@stupidchicken.com> References: <87k5yxeg19.fsf@jurta.org> <87hcu0l909.fsf@stupidchicken.com> <87d54otndk.fsf@stupidchicken.com> <87abzs9xc4.fsf@stupidchicken.com> <87lkjc5opu.fsf@stupidchicken.com> <87d54ob8c5.fsf@stupidchicken.com> <87iregmafd.fsf@stupidchicken.com> <45C8A2ED.3070809@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170779533 23906 80.91.229.12 (6 Feb 2007 16:32:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2007 16:32:13 +0000 (UTC) Cc: Juanma Barranquero , Stefan Monnier , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 06 17:32:01 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 1HETEf-0000Bl-3v for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2007 17:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HETEe-0003XJ-Qe for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2007 11:32:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HETEO-0003Wa-Tz for emacs-devel@gnu.org; Tue, 06 Feb 2007 11:31:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HETEN-0003WS-JI for emacs-devel@gnu.org; Tue, 06 Feb 2007 11:31:43 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HETEN-0002tN-49; Tue, 06 Feb 2007 11:31:43 -0500 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l16GVcZZ002620; Tue, 6 Feb 2007 11:31:40 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l16G86C3016257; Tue, 6 Feb 2007 11:08:06 -0500 (EST) Original-Received: from localhost (MAIN-TWELVE-FOUR-EIGHTY-THREE.MIT.EDU [18.19.6.228]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l16G855m015913; Tue, 6 Feb 2007 11:08:05 -0500 (EST) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HESrV-0000zs-00; Tue, 06 Feb 2007 11:08:05 -0500 In-Reply-To: <45C8A2ED.3070809@gnu.org> (Jason Rumney's message of "Tue\, 06 Feb 2007 15\:46\:53 +0000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 2 X-detected-kernel: Solaris 9.1 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:66019 Archived-At: Jason Rumney writes: > Stefan Monnier wrote: >> It would make a lot of sense to add entries to auto-mode-alist so as to open >> *.xpm and *.xbm in "c-mode + image-minor-mode". Similarly, postscript-mode >> (c|sh)ould automatically turn on image-minor-mode. >> > This is how it was before the magic-mode-alist changes were made. My > recent patch to use image-mode-maybe instead of image-mode in > magic-mode-alist should have restored this feature. > > The problem is now people are proposing to use image-mode-maybe for a > different purpose, and when I brought up that the change would break > the original use of image-mode-maybe, the suggestion was to make the > change anyway and introduce a new function to do the old job of > image-mode-maybe. This seems backwards to me, which is why I suggest > we leave things as they are and get on with the release, and redesign > things properly after the release. The problem is that while the behavior of image-mode-maybe suits text-based image files, it does not seem to do the right thing for binary image files. This should be fixed before the release.