From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 8E9146DE0B00 for ; Fri, 9 Sep 2016 18:31:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.531 X-Spam-Level: X-Spam-Status: No, score=-0.531 tagged_above=-999 required=5 tests=[AWL=-0.061, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IAbu1xIkGJR3 for ; Fri, 9 Sep 2016 18:31:19 -0700 (PDT) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by arlo.cworth.org (Postfix) with ESMTPS id 1D5056DE0AF4 for ; Fri, 9 Sep 2016 18:31:19 -0700 (PDT) Received: by mail-qt0-f169.google.com with SMTP id 11so49521642qtc.0 for ; Fri, 09 Sep 2016 18:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version; bh=fWZVF99yJbCBUBO7YXtOstp+UTkDid/McsPEM6siUyI=; b=HnyvukKa9hXFDAVLtiMJXZtkTiSvEp7bJHtH8j7eJZGijO0ntmA5Lrq/O14NjLeQeM K2k/bxli977Z6G1FRdbdKqGYk2gak0I9kEFum2hk24q/wQbGJNO/RI9fJNMcsxmHM7kJ x7GsTamhsXwhJnK4OuTvKwfKwGWJbo/pAqXXDdRPzu8YRaPxNoiLwy/YXY2G6hLa491i lWfhwJpTP6F4V7HULLuTBld0Jg+INmiqVduMfBYQrGh9TcyGKmPw7uRtybjbHNLng3uD NhOdXBRQhVbAwZHqu3rgZmZogmz0gbgHEucsMMY7fD9xqXDW6IeWjkNA8d6kplaDAMFD S2+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:in-reply-to:references :date:message-id:mime-version; bh=fWZVF99yJbCBUBO7YXtOstp+UTkDid/McsPEM6siUyI=; b=KOx4xhm7oVQ13hEnK/eNJynizSBjSaOvchae+Yj48K2n5e8O2CyMTa8VyvVH7RBGk1 vFlWmWSLWxvt3RB4/FtiUOTA/UtD46VBGgHdj9O6ZRJecjwYMjtoXXf4iZ94wg+pgYZm vlvpIs0kB948/NdODXWccEumwFukB6ydfmOukqBwpV76WvUMAxlR0B8GvqZczDcJGUBE Cpq3EiXlYT8D50ADSCdlpixA53fJy8y0YHvuXgHkUV3GXeIJ5VG+4W/b3/WVbtYgLfTP ouZTAghuXm7GkixDFxu3oNkCFr0CtOTL4B0GpyqYV0OLkMvEmuZWtAFvK0tkwKeOGhmn TLdA== X-Gm-Message-State: AE9vXwNXhwbj64UFLdN9URzbrnDAewjdpeVlFnKrj6nI5T1/Wj5QHp+T3EL76wk0DSYWlQ== X-Received: by 10.237.60.44 with SMTP id t41mr7496459qte.102.1473471078153; Fri, 09 Sep 2016 18:31:18 -0700 (PDT) Received: from localhost (c-73-142-121-245.hsd1.ma.comcast.net. [73.142.121.245]) by smtp.gmail.com with ESMTPSA id s27sm3721391qtc.3.2016.09.09.18.31.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Sep 2016 18:31:17 -0700 (PDT) Sender: - From: Steven Allen To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: use define-derived-mode for defining modes. In-Reply-To: <87sht81tec.fsf@zancas.localnet> References: <20160828184122.26002-1-steven@stebalien.com> <87sht81tec.fsf@zancas.localnet> Date: Fri, 09 Sep 2016 21:31:12 -0400 Message-ID: <87r38so80v.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 01:31:20 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable David Bremner writes: > Steven Allen writes: > >> This sets up and runs all the correct hooks and reduces some redundancy. >> --- > > The idea seems sane, but shouldn't we derive from special-mode? Special mode pre-defines some keybindings (although they appear to be similar, I haven't really looked into it). For precedent, gnus derives From=20fundamental-mode. =2D-=20 Steven Allen ((Do Not Email )) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJX02JgAAoJEMEl7P0XE5Q80Z0P/RXBuirSZaP4uoPjl1pAtz1N HD/Ot+fRuUrHiIxqYRRac0oy6h/mFB/zNTGagns5EVYWmI8NvapK7jTErz4MmFmP vxplVlbeD11jNgSHQAbg+6UX4OClrijlAOLzngge3NP6knUD4BB7kv5Yn3JCccYb U20K3j2gAEFZhvD6LfpWyEe0ahRbhTEmtZcgK9gLeNMKk3WrdRo/vilCY9Mv87PK DGPAS57ZHMgpfOiam9SPn5go2+4uwMFiGBL5ubX3kLG2u5j6XL7JPeo2ZwXeXAGN HY6eijMAopdUOBANJPDHt3ONP1zi3yBMWHWGrtUIx2xpQ28qF5BuLnYfopQFGHHG ki/hHtZ0BsV5DA434tKyRTisUjU/ppmhvjcVRzaBXDWcKVtvPWm//qBZatWwHV+v DZXCy4lJnMDkbDIFntf91IgcdNmWMcthqhCUgbGT8rllnm81cHPybBcLYTFU6WBJ g9hG9wdprvhF5dPBG7YESNOS4JL1gpiFrWSyMOfVp+PUSROtgWHG1kfhe9WHL09m jxbhmPIYaTugH6ry0dqZyAGhEetraxBdOUqQE05kElnNb7+cUlmv6zcZVIUheL9u Nf33YhLDTxWLSBt6HuMCBfQNHaS/RD/jbe21rKORyIo97N8EqFDCcYhe8vYP6YtZ 1yL+o6p9gAt+LiF59nSg =Xq3m -----END PGP SIGNATURE----- --=-=-=--