From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: Re: Using keymap argument of define-minor-mode Date: Fri, 15 Apr 2016 20:02:16 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1460750561 20514 80.91.229.3 (15 Apr 2016 20:02:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2016 20:02:41 +0000 (UTC) To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 22:02:40 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 1ar9wu-0006jZ-8y for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 22:02:40 +0200 Original-Received: from localhost ([::1]:41146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar9wt-0007gW-C2 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 16:02:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar9wi-0007eX-ES for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 16:02:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ar9wh-0006Ak-G9 for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 16:02:28 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:33092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar9wh-00069q-81 for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 16:02:27 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id e190so157924459lfe.0 for ; Fri, 15 Apr 2016 13:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bt2xavI6KTF9QePFr+BfaF92Lgb5DP9K0Ea/UPYI1q0=; b=HyVmM+72M9SFDBx/LDQCDQFE7VKxngI5btrUTRLm+9aqZbRziFRmuvPhDFbcIY9SZ3 D5sR/e8eEsCGMvCDFlMwQIGdRsjNHcPMvLSFf+hyo9uvQr8liaacQLosTbpNbkECxLI0 6DeNUkK3Ngbl/+IWEoG9Efm9p4vKTAtMNA58OFyWKoU2zLwPhRvm85RWK6h/+3ZvGIuA k6YpNBXnYpVOsRte1iVC16OVcQ/3Ys3LyRoxzaFqnqMi60Dmx9FRX52w/Fg3ZWPYOx0f XJ/TC/7LUfQc3nMJIfo3BSM+xa37K+4VRj3SBT0C5sMcVQ56brwvWOl7QgXhnZHLBq5/ LG7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bt2xavI6KTF9QePFr+BfaF92Lgb5DP9K0Ea/UPYI1q0=; b=VxcJFkkYjieSAaWy9gGpoI9vSan8AuAJzcZNecChPXts3fj9oqKim+AjrgrYQLUEAA y7dnd/lbiIA27BJ6EdbcGPDmKU/NxK2pwHZk2LiRNdWCkb7kYuJRuP7R7e2WTZZdgJPJ rn+bJjbcOoVsdzFFV9jSCjK8XhbACE7RIyM1dPvKEIMDTJaEgjXmmUu4IHyZqHQJaHLw zlWJk7cNDmZXusCqYevm+lntsrcfABimGfW/Oa0zFwpGQ7RpsC3G+TMAtKWc8znvzy5C ydrG0BY0KZxuBIVhf5XhA7HlBsfspq3eVlc2h1tP3C+maY1RJlLzI0sj9P74aCmGRMQv xeJg== X-Gm-Message-State: AOPr4FVaLKbGYYEktvOOtp2HfuLhsvQlmdtNaYW7195oUn2whFMqEF6bDRFmIl1Iz4YuyE0fVDiK7n1VqVHP0w== X-Received: by 10.25.17.230 with SMTP id 99mr9800378lfr.23.1460750546046; Fri, 15 Apr 2016 13:02:26 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22d X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:109771 Archived-At: Stefan Monnier schrieb am Fr., 15. Apr. 2016 um 14:40 Uhr: > > The docstring of `define-minor-mode' says that KEYMAP can be a list of > > arguments to `easy-mmode-define-keymap'. However, this doesn't seem to > work: > > I recommend you stay away from it. > Fair enough, but that doesn't really answer the question. Is the docstring wrong, or the implementation of define-minor-mode, or my example?