From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25505: 24.5; doc of `define-minor-mode': incorrect for :keymap Date: Fri, 10 Feb 2017 15:43:02 -0800 (PST) Message-ID: References: <8737flmxr3.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1486770250 25790 195.159.176.226 (10 Feb 2017 23:44:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 23:44:10 +0000 (UTC) Cc: 25505@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 11 00:44:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccKrG-0006VW-6f for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Feb 2017 00:44:06 +0100 Original-Received: from localhost ([::1]:46454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccKrL-0008O0-Te for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 18:44:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccKrF-0008Nt-Na for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 18:44:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccKrC-0002BE-Lr for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 18:44:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccKrC-0002BA-Ik for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 18:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccKrC-0002fs-CI for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 18:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 23:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25505 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 25505-submit@debbugs.gnu.org id=B25505.148677019410212 (code B ref 25505); Fri, 10 Feb 2017 23:44:02 +0000 Original-Received: (at 25505) by debbugs.gnu.org; 10 Feb 2017 23:43:14 +0000 Original-Received: from localhost ([127.0.0.1]:35122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccKqQ-0002ee-2r for submit@debbugs.gnu.org; Fri, 10 Feb 2017 18:43:14 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:39318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccKqO-0002eQ-6N for 25505@debbugs.gnu.org; Fri, 10 Feb 2017 18:43:12 -0500 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v1ANh5ms011779 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2017 23:43:05 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v1ANh50d006569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Feb 2017 23:43:05 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v1ANh3qZ003230; Fri, 10 Feb 2017 23:43:04 GMT In-Reply-To: <8737flmxr3.fsf@users.sourceforge.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129224 Archived-At: > tags 25505 notabug > quit >=20 > The doc says "variable name" as opposed to "expression", I think it's > clear that expression will be evaluated, and something which is not an > expression will not be evaluated. I guess we could add "it should be an > unquoted variable name..." I don't think the text is clear at all. As you acknowledge, a macro can, but need not, evaluate any of its arguments. This macro evaluates some and not others (like `setq', `defvar', etc.). Its doc should be explicit (aka clear) about which args are evaluated. It is not clear now.