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? Date: Sat, 30 Dec 2006 01:23:38 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1167459884 18509 80.91.229.12 (30 Dec 2006 06:24:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2006 06:24:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 30 07:24:43 2006 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 1H0Xe7-00061P-2M for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 07:24:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0Xe6-0001l8-FN for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 01:24:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0XdN-0001T4-QC for emacs-devel@gnu.org; Sat, 30 Dec 2006 01:23:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0XdM-0001RD-0F for emacs-devel@gnu.org; Sat, 30 Dec 2006 01:23:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0XdL-0001Qm-MU for emacs-devel@gnu.org; Sat, 30 Dec 2006 01:23:55 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0XdL-0006gs-Fk for emacs-devel@gnu.org; Sat, 30 Dec 2006 01:23:55 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H0Xd4-0002zg-SM; Sat, 30 Dec 2006 01:23:38 -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:64475 Archived-At: There are minor modes that are truly global, defined with `define-minor-mode' using `:global'. And there are minor modes defined with `define-global-minor-mode', which are local minor modes that are made to act globally. These two kinds of "global" minor mode are not the same. They both define global minor modes. One defines a global minor mode that only exists globally, and the other defines a global minor mode that is a globalized version of a local minor mode. We can still change the name if someone suggests a better name. However, the name `make-minor-mode-global' does not fit the meaning. This function defines something, so its name should start with `define'.