From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Using keymap argument of define-minor-mode Date: Fri, 15 Apr 2016 17:18:37 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460755140 27800 80.91.229.3 (15 Apr 2016 21:19:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2016 21:19:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Philipp Stephani Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 23:18:53 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arB8b-00081h-74 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 23:18:49 +0200 Original-Received: from localhost ([::1]:42381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arB8a-0000hA-Gg for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 17:18:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arB8M-0000dp-ES for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 17:18:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arB8H-00087O-CW for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 17:18:34 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:43560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arB8H-00087J-7O for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 17:18:29 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.7) with ESMTP id u3FLHwaY016465; Fri, 15 Apr 2016 17:17:58 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B185A661E4; Fri, 15 Apr 2016 17:18:37 -0400 (EDT) In-Reply-To: (Philipp Stephani's message of "Fri, 15 Apr 2016 20:02:16 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5643=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5643> : inlines <4683> : streams <1619926> : uri <2188242> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109773 Archived-At: > Fair enough, but that doesn't really answer the question. Is the docstring > wrong, or the implementation of define-minor-mode, or my example? Good question. The code passes the list as first (and sole) arg to easy-mmode-define-keymap, and given the lack of interest to support this in the future, I guess the code should take precedence over the docstring. Stefan