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: How global is a define-global-minor-mode mode? Date: Thu, 25 Jan 2007 23:35:35 -0500 Message-ID: References: <4581996F.3050700@student.lu.se> <87y7nxmqzh.fsf@stupidchicken.com> <45B6A179.9020604@gmail.com> <45B7B3AE.9020000@gmail.com> <45B9255B.6030002@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169786157 11084 80.91.229.12 (26 Jan 2007 04:35:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2007 04:35:57 +0000 (UTC) Cc: cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 26 05:35:51 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 1HAIoX-0006W2-Kq for ged-emacs-devel@m.gmane.org; Fri, 26 Jan 2007 05:35:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAIoW-00006P-TH for ged-emacs-devel@m.gmane.org; Thu, 25 Jan 2007 23:35:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAIoN-00006J-5s for emacs-devel@gnu.org; Thu, 25 Jan 2007 23:35:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAIoL-000067-HW for emacs-devel@gnu.org; Thu, 25 Jan 2007 23:35:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAIoL-000064-BI for emacs-devel@gnu.org; Thu, 25 Jan 2007 23:35:37 -0500 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HAIoK-0003Og-Af; Thu, 25 Jan 2007 23:35:36 -0500 Original-Received: from pastel.home ([74.12.211.125]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070126043535.LBLP5067.tomts5-srv.bellnexxia.net@pastel.home>; Thu, 25 Jan 2007 23:35:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0F8CF82DF; Thu, 25 Jan 2007 23:35:35 -0500 (EST) In-Reply-To: <45B9255B.6030002@gmail.com> (Lennart Borgman's message of "Thu\, 25 Jan 2007 22\:47\:07 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:65474 Archived-At: > *** My suggestion is this: Let the :set function and the body of > a define-minor-mode be the same thing. I believe this will make it much > easier for users and programmers. Huh, check the code: the :set does nothing more than run the body of the define-minor-mode. Stefan