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: Sat, 16 Apr 2016 13:16:13 +0000
Message-ID:
References:
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=001a11c2a1121be391053099ef73
X-Trace: ger.gmane.org 1460812600 4489 80.91.229.3 (16 Apr 2016 13:16:40 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 16 Apr 2016 13:16:40 +0000 (UTC)
Cc: help-gnu-emacs@gnu.org
To: Stefan Monnier
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 16 15:16: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 1arQ5X-0002BC-O0
for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 15:16:39 +0200
Original-Received: from localhost ([::1]:55211 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1arQ5W-0000Qx-Vf
for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 09:16:38 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44417)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1arQ5J-0000MQ-CU
for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 09:16:26 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1arQ5I-0007Qw-EQ
for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 09:16:25 -0400
Original-Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:36500)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1arQ5I-0007Qs-1B
for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 09:16:24 -0400
Original-Received: by mail-lf0-x229.google.com with SMTP id g184so173162358lfb.3
for ; Sat, 16 Apr 2016 06:16:23 -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
:cc; bh=H7tuA7TRiVhml4GtpmeKNy5SxSCXZhK8xFLPiDh10Uc=;
b=rMuqYq1l/XrN3t/p229ktK4rxeuEet5itM0RUp+RH46/epF0o0gk9E9XSwl4FnA0FG
UjVPa5oTwadnAmlwCJ4vGO0QhpLkifJAfci54cM+mRMugHMfIvTjhopNLCbS/JI9aNzR
TESwicQUWZWAfAGUXITPaAKTuTL1IAfMpjcBZEQyNn9rCHEHG/CHNy6EAjMJhohGdKkc
oyeNDTOwktoRHH4X6pZDVyk6eHFY8d0/ePVNIxmMmJWk9pB/e70AtObJS1wBye+QYjLo
g9NMgfz1mp49YTSCK7nPSPl+IH5ffn++9D3mI4Nji9jZBZneiWim3vL4zQMD3fSbQy/y
JBSA==
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:cc;
bh=H7tuA7TRiVhml4GtpmeKNy5SxSCXZhK8xFLPiDh10Uc=;
b=PPiUaKs/humqapK0hqs9gBcGwdoCnOrQYFPZXXrQiyP6LMdumolU+3Ptd4CcrajiOO
ZMHarzyS2mp1tQFovlTI5HMUoK6NfOlix1vAg/abWETUTWcE7OmlhNf0LtcW92PZ1TzR
hqh99LXpiSY1vWM9zHEz35Pf6CbGcPeCI6FD7305XPEofLihFfZR6uYdsnK3bpyHZB5N
62DmMkR7dYtLgvje1cRJ5uuwa8jgqGzuWP///N3qV0Uk3aVxdp7zF0rHS8EzGyH9q4jZ
zSjQHvKd9iFxaySSpwJx87LD6TLNAByB14rAx3JF9KD2ARRdUulJ4GC/odnqWcKKqGZ0
Yu/Q==
X-Gm-Message-State: AOPr4FW2VnB89E/3s8yg4oXhIcsv44HuETNqbyUajvpvTYInqBkpQDOGuVfFzJIUctndDsDdKwVPW2qAHgRixg==
X-Received: by 10.112.73.40 with SMTP id i8mr10682282lbv.101.1460812583255;
Sat, 16 Apr 2016 06:16:23 -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::229
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:109775
Archived-At:
--001a11c2a1121be391053099ef73
Content-Type: text/plain; charset=UTF-8
Stefan Monnier schrieb am Fr., 15. Apr. 2016 um
23:18 Uhr:
> > 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.
>
>
>
OK, I've attached a patch to fix the docstring.
--001a11c2a1121be391053099ef73
Content-Type: application/octet-stream;
name="0001-Fix-docstring-of-define-minor-mode.patch"
Content-Disposition: attachment;
filename="0001-Fix-docstring-of-define-minor-mode.patch"
Content-Transfer-Encoding: base64
Content-ID: <1541f36e2b02fe6c9591>
X-Attachment-Id: 1541f36e2b02fe6c9591
RnJvbSBlODRjN2Y3MGI0YjkzOTRiMDY5NDRiZWEzZjhlN2VlZDZhMWNlNmJhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pID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