From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#25505: 24.5; doc of `define-minor-mode': incorrect for :keymap Date: Wed, 15 Feb 2017 15:49:14 +0100 Message-ID: <87a89n33x1.fsf@drachen> References: <8737flmxr3.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487170217 5527 195.159.176.226 (15 Feb 2017 14:50:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2017 14:50:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) 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 Wed Feb 15 15:50:13 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 1ce0uI-0000zI-Cm for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2017 15:50:10 +0100 Original-Received: from localhost ([::1]:41148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce0uO-0008TI-4M for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2017 09:50:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce0uE-0008QT-EN for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2017 09:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ce0uA-0003yy-J3 for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2017 09:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ce0uA-0003yr-Fz for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2017 09:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ce0uA-0004i5-6u for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2017 09:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2017 14:50: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.148717018618080 (code B ref 25505); Wed, 15 Feb 2017 14:50:02 +0000 Original-Received: (at 25505) by debbugs.gnu.org; 15 Feb 2017 14:49:46 +0000 Original-Received: from localhost ([127.0.0.1]:40607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ce0tt-0004hY-V0 for submit@debbugs.gnu.org; Wed, 15 Feb 2017 09:49:46 -0500 Original-Received: from mout.web.de ([212.227.15.14]:59628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ce0ts-0004hI-DB for 25505@debbugs.gnu.org; Wed, 15 Feb 2017 09:49:44 -0500 Original-Received: from drachen.dragon ([109.42.2.118]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lud4y-1cDeKz0rnk-00zrDY; Wed, 15 Feb 2017 15:49:17 +0100 In-Reply-To: <8737flmxr3.fsf@users.sourceforge.net> (npostavs's message of "Fri, 10 Feb 2017 18:28:32 -0500") X-Provags-ID: V03:K0:oLf26/KyjgFo2QCFYf+o+ZAIl03JZ3N3uT4m4FO5ph9MtSpFz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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:129381 Archived-At: npostavs@users.sourceforge.net writes: > 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 agree with Drew that the paragraph about the KEYMAP arg could be improved. Currently we have | Optional KEYMAP is the default keymap bound to the mode keymap. If | non-nil, it should be a variable name (whose value is a keymap), or | ... It's not clear that this is about specifying the _name_ of a keymap (a symbol), in contrast to specifying a keymap (value). I also agree that the doc could make clearer if and when the arguments are evaluated. Michael.