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: How global is a define-global-minor-mode mode? Date: Mon, 22 Jan 2007 04:04:38 -0500 Message-ID: References: <4581996F.3050700@student.lu.se> <87y7nxmqzh.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1169456808 1167 80.91.229.12 (22 Jan 2007 09:06:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 09:06:48 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 22 10:06:44 2007 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 1H8v8O-0008H2-2B for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 10:06:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8v8N-0004Rq-Kq for ged-emacs-devel@m.gmane.org; Mon, 22 Jan 2007 04:06:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8v7G-00033u-P7 for emacs-devel@gnu.org; Mon, 22 Jan 2007 04:05:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8v7F-00032g-S9 for emacs-devel@gnu.org; Mon, 22 Jan 2007 04:05:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8v7F-00032I-Lw for emacs-devel@gnu.org; Mon, 22 Jan 2007 04:05:25 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H8v7F-0005CT-8A for emacs-devel@gnu.org; Mon, 22 Jan 2007 04:05:25 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H8v6U-00056U-7l; Mon, 22 Jan 2007 04:04:38 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sun, 21 Jan 2007 18:11:00 -0500) 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:65375 Archived-At: Isn't it the case that it works if the minor mode function corresponding to the variable is autoloaded? Otherwise, IIRC you need to add a :require to the definition of the minor mode. Could define-global-minor-mode do that automatically?