From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: global minor modes that can be overridden locally?[was:highlight-changes-mode] Date: Mon, 11 Dec 2006 20:08:13 -0800 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165896562 1240 80.91.229.10 (12 Dec 2006 04:09:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 04:09:22 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 05:09:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gtyx9-0005bs-R2 for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 05:09:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtyx8-0007Nr-Vf for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2006 23:09:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gtywt-0007Nb-QK for emacs-devel@gnu.org; Mon, 11 Dec 2006 23:08:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gtywr-0007NP-9n for emacs-devel@gnu.org; Mon, 11 Dec 2006 23:08:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtywr-0007NM-6G for emacs-devel@gnu.org; Mon, 11 Dec 2006 23:08:57 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gtywq-0001iE-6B for emacs-devel@gnu.org; Mon, 11 Dec 2006 23:08:56 -0500 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBC48pGp003922 for ; Mon, 11 Dec 2006 22:08:51 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBC46nkG020073 for ; Mon, 11 Dec 2006 21:08:50 -0700 Original-Received: from dhcp-amer-csvpn-gw2-141-144-73-226.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 2275890761165896494; Mon, 11 Dec 2006 21:08:14 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= 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:63605 Archived-At: > I think I disagree, if you mean that M-x foo-mode should > toggle locally. With that design: > > . If there were no buffers where it was defined locally, then > M-x foo-mode would still toggle everywhere (global). > > . If there were buffers where it was defined locally, then > M-x foo-mode would toggle differently, depending on where > it was invoked: > > - toggle only locally, if invoked in a buffer with a local value > - toggle globally, if invoked in a buffer with no local value > > I never advocated anything where the same command sequence would > sometimes be local and sometimes be global, so I think there is a > misunderstanding somewhere. Perhaps you can clear up the misunderstanding? What is it that you propose? What is the command sequence for local and for global?