From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: global minor modes that can be overridden locally? Date: Fri, 29 Dec 2006 17:15:00 -0500 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167430522 22779 80.91.229.10 (29 Dec 2006 22:15:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 22:15:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 23:15: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 1H0Q0S-0004q2-PK for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 23:15:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0Q0S-0005Rp-6n for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 17:15:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0Q0G-0005RE-4r for emacs-devel@gnu.org; Fri, 29 Dec 2006 17:15:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0Q0F-0005R2-Mz for emacs-devel@gnu.org; Fri, 29 Dec 2006 17:15:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0Q0F-0005Qz-H8 for emacs-devel@gnu.org; Fri, 29 Dec 2006 17:15:03 -0500 Original-Received: from [83.228.189.52] (helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0Q0E-0004aC-Ut for emacs-devel@gnu.org; Fri, 29 Dec 2006 17:15:03 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id C8ADB1CD5B; Fri, 29 Dec 2006 17:15:00 -0500 (EST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Fri\, 29 Dec 2006 08\:25\:00 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:64449 Archived-At: > `define-global-minor-mode' is new in Emacs 22. I think we have the > opportunity now to correct its name to avoid confusing users. As the original inventor of the name (and code) of define-global-minor-mode, I agree that it's not ideal. I hope we can come up with something better. But note that the operation really defines a new global minor mode whose effect is to turn on in most buffers the other (buffer-local) minor-mode. Calling it make-minor-mode-global would be wrong, because it would make it seem like it will change the buffer-local minor-mode to a global one, whereas the buffer-local minor-mode is actually unaffected. Stefan