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: Tue, 12 Dec 2006 16:45:34 -0500 Message-ID: References: <457CB189.9040908@student.lu.se> <457E21B4.90306@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 1165960006 24690 80.91.229.10 (12 Dec 2006 21:46:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 21:46:46 +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 22:46:44 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 1GuFSW-0006Fh-Kk for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 22:46:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuFSW-0007p0-2T for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 16:46:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuFRR-0006sf-PJ for emacs-devel@gnu.org; Tue, 12 Dec 2006 16:45:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuFRR-0006s0-2K for emacs-devel@gnu.org; Tue, 12 Dec 2006 16:45:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuFRQ-0006rt-Re for emacs-devel@gnu.org; Tue, 12 Dec 2006 16:45:36 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuFRP-0007t8-RT for emacs-devel@gnu.org; Tue, 12 Dec 2006 16:45:35 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GuFRO-00074A-Fh; Tue, 12 Dec 2006 16:45:34 -0500 Original-To: Lennart Borgman In-reply-to: <457E21B4.90306@student.lu.se> (message from Lennart Borgman on Tue, 12 Dec 2006 04:27:48 +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:63649 Archived-At: The naming scheme does not matter to me very much. What I tried to argue about was that when we define a new global minor mode with define-minor-mode it should define functions for us for toggling both locally and globally. The easiest way to do this would be to add a call to define-global-minor-mode for each call to define-minor-mode. The arguments are not the same. But I am not convinced every mode needs a global variant.