From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 13:07:37 2010 Received: (at submit) by debbugs.gnu.org; 18 Aug 2010 17:07:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olm6z-0006Hu-80 for submit@debbugs.gnu.org; Wed, 18 Aug 2010 13:07:37 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olm6x-0006Hm-5l for submit@debbugs.gnu.org; Wed, 18 Aug 2010 13:07:35 -0400 Received: from lists.gnu.org ([199.232.76.165]:50884) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Olm80-0003ub-3D for submit@debbugs.gnu.org; Wed, 18 Aug 2010 13:08:40 -0400 Received: from [140.186.70.92] (port=43404 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Olm7u-00021v-D1 for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2010 13:08:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Olm7o-0002NH-A4 for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2010 13:08:34 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:61296) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olm7o-0002NC-56 for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2010 13:08:28 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o7IH8PJE030614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 18 Aug 2010 17:08:27 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o7HNGHwO017344 for ; Wed, 18 Aug 2010 17:08:25 GMT Received: from abhmt013.oracle.com by acsmt353.oracle.com with ESMTP id 508472611282151304; Wed, 18 Aug 2010 10:08:24 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 18 Aug 2010 10:08:22 -0700 From: "Drew Adams" To: Subject: 24.0.50; define-minor-mode doc string: no keymap var is defined Date: Wed, 18 Aug 2010 10:08:22 -0700 Message-ID: <7F3FE1D2213244979EFFE29AD5CC933C@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Thread-Index: Acs+9/Z2zy/8C2FsSN2dMbjvkkzBYQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) The doc string of define-minor-mode says this: "This function defines the associated control variable MODE, keymap MODE-map, and toggle command MODE." It does not seem to be true that it defines a keymap MODE-map. And the Elisp manual does not mention that it defines such a variable. (define-minor-mode foo-mode "...") C-h v foo-mode-map ; No such variable was defined. This bug goes back to the creation of define-minor-mode, in Emacs 21. It has apparently never been the case that the keymap variable is created, and it has always been the case that the doc says it is created. Or perhaps the bug is not only a doc bug? Perhaps it is a bug that a keymap variable is not created? In that case, after fixing the code so it creates the variable, the Elisp manual needs to be updated to mention it. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-16 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 15:29:00 2010 Received: (at 6880) by debbugs.gnu.org; 22 Aug 2010 19:29:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnGE0-0003fe-75 for submit@debbugs.gnu.org; Sun, 22 Aug 2010 15:29:00 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnGDz-0003fZ-2W for 6880@debbugs.gnu.org; Sun, 22 Aug 2010 15:28:59 -0400 Received: from furry (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7MJUCQd000646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 22 Aug 2010 15:30:14 -0400 Received: by furry (Postfix, from userid 1000) id 213A6C057; Sun, 22 Aug 2010 15:30:11 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Subject: Re: bug#6880: 24.0.50; define-minor-mode doc string: no keymap var is defined References: <7F3FE1D2213244979EFFE29AD5CC933C@us.oracle.com> Date: Sun, 22 Aug 2010 15:30:11 -0400 In-Reply-To: <7F3FE1D2213244979EFFE29AD5CC933C@us.oracle.com> (Drew Adams's message of "Wed, 18 Aug 2010 10:08:22 -0700") Message-ID: <87fwy68myk.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6880 Cc: 6880@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > "This function defines the associated control variable MODE, keymap > MODE-map, and toggle command MODE." > > It does not seem to be true that it defines a keymap MODE-map. And the > Elisp manual does not mention that it defines such a variable. MODE-map is only created if you pass a list or a keymap as the KEYMAP argument. I've fixed the docstring and the lisp manual. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 15:29:12 2010 Received: (at control) by debbugs.gnu.org; 22 Aug 2010 19:29:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnGEB-0003g9-Dn for submit@debbugs.gnu.org; Sun, 22 Aug 2010 15:29:11 -0400 Received: from pantheon-po23.its.yale.edu ([130.132.50.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnGEA-0003g4-4Z for control@debbugs.gnu.org; Sun, 22 Aug 2010 15:29:10 -0400 Received: from furry (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by pantheon-po23.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7MJUNva016436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 22 Aug 2010 15:30:25 -0400 Received: by furry (Postfix, from userid 1000) id 7AA30C057; Sun, 22 Aug 2010 15:30:22 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6880 Date: Sun, 22 Aug 2010 15:30:22 -0400 Message-ID: <8739u6la29.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 6880 thanks From unknown Thu Aug 14 18:39:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Sep 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator