From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9819: 24.0.50; Docstring of `define-minor-mode' and KEYMAP Date: Fri, 21 Oct 2011 06:58:46 -0700 Message-ID: <6CD52D0A136242E89624EBD089EB6787@us.oracle.com> References: <86sjmns236.fsf@dogan.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319205608 7132 80.91.229.12 (21 Oct 2011 14:00:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2011 14:00:08 +0000 (UTC) Cc: 9819@debbugs.gnu.org To: "'Glenn Morris'" , "'Deniz Dogan'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 21 16:00:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHFdf-0001HP-Rt for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Oct 2011 16:00:00 +0200 Original-Received: from localhost ([::1]:45938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHFde-0000qU-Va for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Oct 2011 09:59:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHFdY-0000qH-Iu for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2011 09:59:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHFdU-0005P4-CO for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2011 09:59:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHFdU-0005P0-Av for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2011 09:59:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RHFeg-0006Gc-28 for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2011 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Oct 2011 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9819 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9819-submit@debbugs.gnu.org id=B9819.131920562424047 (code B ref 9819); Fri, 21 Oct 2011 14:01:02 +0000 Original-Received: (at 9819) by debbugs.gnu.org; 21 Oct 2011 14:00:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHFe2-0006Fl-ML for submit@debbugs.gnu.org; Fri, 21 Oct 2011 10:00:23 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHFdz-0006FW-C3 for 9819@debbugs.gnu.org; Fri, 21 Oct 2011 10:00:20 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9LDwuGF020543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Oct 2011 13:58:58 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p9LDwtX1003558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Oct 2011 13:58:56 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p9LDwonu031923; Fri, 21 Oct 2011 08:58:50 -0500 Original-Received: from dradamslap1 (/10.159.63.178) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 21 Oct 2011 06:58:49 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcyPwSgIFDMIAQY+Qq+1jHw7CC3YKwAN/Qzg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090203.4EA17AA3.003F,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 21 Oct 2011 10:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52986 Archived-At: > > If KEYMAP is not a symbol, this also defines the > > variable MODE-map. > > nil is a symbol. :( > If you pass a keymap argument that is not a symbol, eg: > :keymap '(("\C-a" . foo-command) > then a `foo-mode-map' variable will be defined and given that > map as its value. It might be clearer to say just what you said, i.e., something like "If you pass a non-symbol KEYMAP argument..." or even more explicitly, "If KEYMAP is a cons that is a keymap..."