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:57:26 -0500 Message-ID: References: <457CB189.9040908@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165892270 24213 80.91.229.10 (12 Dec 2006 02:57:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 02:57:50 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 03:57:49 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 1Gtxpw-0007T1-Az for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 03:57:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtxpv-0002YB-9L for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2006 21:57:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gtxpi-0002XZ-OV for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:57:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gtxpi-0002XH-CO for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:57:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gtxpi-0002X5-2v for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:57:30 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gtxph-0003Re-RK for emacs-devel@gnu.org; Mon, 11 Dec 2006 21:57:29 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Gtxpe-0002fN-Q1; Mon, 11 Dec 2006 21:57:26 -0500 Original-To: Lennart Borgman In-reply-to: <457CB189.9040908@student.lu.se> (message from Lennart Borgman on Mon, 11 Dec 2006 02:16:57 +0100) 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:63597 Archived-At: Why not define a new sub foo-mode-locally to toggle it in current buffer when it is a global minor mode? Two different commands is the way we do it now. In the current scheme; foo-mode is the local toggle and global-foo-mode is the global toggle. I think the current scheme is better than making foo-mode the global command.