From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: global minor modes that can be overridden locally? [was:highlight-changes-mode] Date: Mon, 11 Dec 2006 21:58:45 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165892425 24707 80.91.229.10 (12 Dec 2006 03:00:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 03:00:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 04:00:22 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 1Gtxrv-0007lh-VY for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 03:59:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtxru-0003fD-JM for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2006 21:59:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gtxqz-0003CY-LX for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:58:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gtxqz-0003C9-3d for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:58:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtxqy-0003C4-Vm for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:58:48 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gtxqx-0003jM-Ql for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:58:49 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Gtxqv-0002yb-Eu; Mon, 11 Dec 2006 21:58:45 -0500 Original-To: "Drew Adams" In-reply-to: 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:63600 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.