From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Image mode Date: Tue, 06 Feb 2007 10:46:01 +0900 Message-ID: <87r6t412jq.fsf@catnip.gol.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> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170726403 22290 80.91.229.12 (6 Feb 2007 01:46:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2007 01:46:43 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 06 02:46:31 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 1HEFPh-0000hd-Q2 for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2007 02:46:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEFPg-0005EG-GG for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2007 20:46:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEFPN-00059v-Ey for emacs-devel@gnu.org; Mon, 05 Feb 2007 20:46:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEFPM-000596-7a for emacs-devel@gnu.org; Mon, 05 Feb 2007 20:46:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEFPL-000591-Vy for emacs-devel@gnu.org; Mon, 05 Feb 2007 20:46:08 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HEFPK-0000rB-Kq; Mon, 05 Feb 2007 20:46:07 -0500 Original-Received: from 203-216-97-073.dsl.gol.ne.jp ([203.216.97.73] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1HEFPD-0001lo-5G; Tue, 06 Feb 2007 10:45:59 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 103402F40; Tue, 6 Feb 2007 10:46:01 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87iregmafd.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 05 Feb 2007 18\:50\:14 -0500") Original-Lines: 28 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:65985 Archived-At: Chong Yidong writes: > Also, setting image-minor-mode is naughty: it violates the standard > that Emacs does not automatically turn on minor-modes on for the user. I've never heard of this "standard", but assuming it exists, why is it important as more than a general guideline? Having appropriate minor modes turned on automatically seems quite reasonable to me... [What's important is that I be able to override the behavior, and I guess that would be easy as long as the "automatic" minor modes get turned on before the major mode hook gets run.] > Personally, I think scheme 2 may be a good compromise. I agree. [In particular, I like the behavior with respect to .xpm files (which is one of the few cases being discussed that actually happens in practice); sometimes I want to open them as image files, sometimes as C files, but I strongly dislike being prompted. "scheme 2"s behavior of defaulting to one mode or the other and having a convenient keystroke to switch seems like the best thing in such a case.] -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.