From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: [elpa] master 550ae83 1/2: [gnugo int] Decruft: Don't declare
hook and keymap vars.
Date: Sun, 12 Feb 2017 11:12:37 +0000
Message-ID:
References: <20170208091858.6699.16542@vcs.savannah.gnu.org>
<20170208091858.F26CA220010@vcs.savannah.gnu.org>
<87a89vmff5.fsf@zigzag.favinet>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a113d822c3a057d0548536992
X-Trace: blaine.gmane.org 1486898006 18203 195.159.176.226 (12 Feb 2017 11:13:26 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 12 Feb 2017 11:13:26 +0000 (UTC)
To: Stefan Monnier , emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 12:13:22 2017
Return-path:
Envelope-to: ged-emacs-devel@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 1ccs5q-0004Hd-F9
for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 12:13:22 +0100
Original-Received: from localhost ([::1]:51494 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1ccs5u-0002cu-GK
for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 06:13:26 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55247)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ccs5L-0002bf-W3
for emacs-devel@gnu.org; Sun, 12 Feb 2017 06:12:53 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ccs5K-0004tj-Px
for emacs-devel@gnu.org; Sun, 12 Feb 2017 06:12:51 -0500
Original-Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:36552)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1ccs5K-0004tT-Jk
for emacs-devel@gnu.org; Sun, 12 Feb 2017 06:12:50 -0500
Original-Received: by mail-oi0-x233.google.com with SMTP id u143so38972850oif.3
for ; Sun, 12 Feb 2017 03:12:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=q1yiVJpOJhaFadCIajhEXRFzJobgZHcvazX2Ft4wnRQ=;
b=iDnZwuTcbWJOIBV0pxbbE1h6E4ocTmkg3S8iGSKyHYn/oPI1jUQvVHpV9MKUjmHW4Q
ML0IDyEw8Lg02jZu3HSSk/pcy7bD/E36eItnF7inzF0uEBew2BDCtFEyyNuuTObLnxkc
9q5ptDMJy1mea+N1IsX/smXc9vUUN8Se+0Rz/6cnvYPvpYd9mNPWZah9XQ1dNpmqNp8V
SIYsZ5FiuAtcm9hzflJyImueWQBz9bTg2DgHRsfWT7NCnJS2vjanUMZcsSceh+GRJyyT
ia/2RvPnuNyfftEklNjyivUPe5NrQTnlwtwXwt4vweL1gl+QeZTwHq6h7i1sSRVKNGPn
Bi4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=q1yiVJpOJhaFadCIajhEXRFzJobgZHcvazX2Ft4wnRQ=;
b=f759HDeVFQIWCAszaeweoFBUxrZKn6UpZQjME4cHywYdfS/TZ3qbJDJHH4qSx7aqem
P1lu8WfytEMxaQ5J86yCEA2R00IuLgAF06kk4pfciLH8boabRv/mg1ovRy2+iXRpNnQv
6gkB5lFJwSrJompR2bAZD+KDrXPMoewbN7uOPO50hdAR5K4GdZC0H0tP9HOm0cKIBwQ6
IwCCmb4jFyvswSS1LMs3Fvw4EMXHWfuJBhi67dAvG2ZX5tJz6zNP2wl4ZGYzQkHjseRU
VtJCABz8J4O1HuA2foPTUXMvDzXes7HXq387BPgR76LFD0lOjKr7HfFSPotPu7tN6HAX
0MSg==
X-Gm-Message-State: AMke39lSXCs+Yh63FGpH9AXkWWwTufs2b+xKRlPjOJuFX6SEVovKnchEdrVmNLSs3XbqhMJDAVWk2bV39UYqQQ==
X-Received: by 10.202.81.66 with SMTP id f63mr8587613oib.184.1486897968447;
Sun, 12 Feb 2017 03:12:48 -0800 (PST)
In-Reply-To:
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::233
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.org gmane.emacs.devel:212272
Archived-At:
--001a113d822c3a057d0548536992
Content-Type: text/plain; charset=UTF-8
Stefan Monnier schrieb am Do., 9. Feb. 2017 um
19:02 Uhr:
> > (defvar MODE-map INIT) ; model C
> > (define-derived-mode MODE ...)
>
> This is the idiomatic form.
>
If that's the case, could you please describe this convention in
https://www.gnu.org/software/emacs/manual/html_node/elisp/Derived-Modes.html
and
fix the example there? Thanks.
--001a113d822c3a057d0548536992
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
>=C2=A0 (defvar MODE-map INIT)=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0; model C
>=C2=A0 (define-derived-mode MODE ...)
This is the idiomatic form.
--001a113d822c3a057d0548536992--