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: Using keymap argument of define-minor-mode
Date: Fri, 15 Apr 2016 11:57:46 +0000
Message-ID:
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1460721495 8475 80.91.229.3 (15 Apr 2016 11:58:15 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 15 Apr 2016 11:58:15 +0000 (UTC)
To: "help-gnu-emacs@gnu.org"
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 13:58:15 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 1ar2O6-0006zb-O3
for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 13:58:14 +0200
Original-Received: from localhost ([::1]:60954 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1ar2O6-0004Cu-7B
for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 07:58:14 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37268)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ar2Np-00048v-Sn
for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 07:57:58 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ar2Np-000804-4D
for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 07:57:57 -0400
Original-Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:33827)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ar2No-0007zz-SB
for help-gnu-emacs@gnu.org; Fri, 15 Apr 2016 07:57:57 -0400
Original-Received: by mail-lf0-x232.google.com with SMTP id j11so142299431lfb.1
for ; Fri, 15 Apr 2016 04:57:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:from:date:message-id:subject:to;
bh=mAojgKJaCq5lF0RwL+rwP5qLOv7Sf+jrvEZ0TnB5pYA=;
b=KFbOZIcJhNrOjuCezr43FB2UWr3YFHbQfFw4tE3ePIkxMesTVzeM1zPPdiF3TekZFb
bmZamFBTNmQRNZMdWgHlTCcWEUP7dN5kvk9z5NZW1VcN42ZGCn8UgLHqxrnDHkNzUuk+
6KkG+63wj3HSCdY6ejZChCNu7n5AyheZpYaj7cifDzA4moDPsG9lqlDvvvU3vkqCZs+o
S6vdZVIZvI/Dc4gcn+o/8DUBpjGoZuNQdxgUw9j7bKAYsDFwI3e5dHa26f0TWkut/s8U
iks20VZX4Z7zxDnXhrzJQCNibyaBh61ktVzaEHMexkZyNyQ4nQf6EWyY+SJKGNvKPzYP
W5fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=mAojgKJaCq5lF0RwL+rwP5qLOv7Sf+jrvEZ0TnB5pYA=;
b=jvLHO2iJlNd3PDvgsjaIrwQGU6w7t4OtrbPmy1i/esqg41KNmj7FhI7wKPyPXaqe5S
hhnzNdXh/NYjdpEGIQ1RPOV4LsjYVsFvvpBtHw5VM+oiUYxY7EiodQUAjmDmlsEZWrOv
bZfpFS2H/MU6PuNrT+s7aDkuF9dFl71evEwtdNjagNsQ9Mam2bDMgnJu/chCDdNH2ei7
yxFf5X89BIW8o9m06iWkc++IDpA9hMRMY3y+uUB82dROwcbpsUtdoID+mPMJF6+aEJdi
LDDs4BmfIz+ufU8Fc9pIPt+4Vj6ZtLWbLokfeOuSOvCnzeGLvF1Qg9Sj/qoKvN+AhuuK
kRGg==
X-Gm-Message-State: AOPr4FXeQaF6I/PR7qbfL1g/YXXNvWzvvYM0LR+gqM5gkzH7LcSN+AVsHyaYNV7bagaFRUYwoaRQMYSMTSWy4A==
X-Received: by 10.112.133.38 with SMTP id oz6mr8634957lbb.64.1460721475828;
Fri, 15 Apr 2016 04:57:55 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:4010:c07::232
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:109768
Archived-At:
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:
(define-minor-mode test-mode nil
:keymap '((([?a] . ignore)) :inherit grep-mode-map))
This attempts to call `easy-mmode-define-keymap' with the single
argument ((([97]
. ignore)) :inherit grep-mode-map), so it doesn't interpret the list as
list of arguments. Is the syntax somehow different, or is this a bug?
Thanks,
Philipp