From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Have `define-key` return the keymap Date: Sat, 13 May 2017 15:12:38 +0000 Message-ID: References: <87d1bd7xr2.fsf@drachen> <9915c795-9efd-4cd8-aa0d-bc072eb340ee@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113befc8439496054f694144" X-Trace: blaine.gmane.org 1494688409 15040 195.159.176.226 (13 May 2017 15:13:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 May 2017 15:13:29 +0000 (UTC) Cc: Emacs developers To: Drew Adams , Michael Heerdegen , Tianxiang Xiong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 13 17:13:24 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 1d9YjT-0003l5-JV for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 17:13:23 +0200 Original-Received: from localhost ([::1]:57912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9YjZ-00079B-8d for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 11:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Yix-00078u-95 for emacs-devel@gnu.org; Sat, 13 May 2017 11:12:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Yiw-0007Xt-DF for emacs-devel@gnu.org; Sat, 13 May 2017 11:12:51 -0400 Original-Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:34982) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Yiw-0007Wx-4o for emacs-devel@gnu.org; Sat, 13 May 2017 11:12:50 -0400 Original-Received: by mail-lf0-x22b.google.com with SMTP id j1so13561579lfh.2 for ; Sat, 13 May 2017 08:12:49 -0700 (PDT) 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 :cc; bh=wpd/Nx5M1DfFqNrrjYb4cLAvoTBHuFJljCPun8zkLxk=; b=SB8SchRhO8jmKLy+u/zzk1YjMnLyk9ydq1IJ1t9IqaO8moG+bi4hpXWnmNPLjWJJ1i n1DPuT9XO4r5wZigKciN0o+namxsI1ene07LuVgBWZXWfEnWf9/Jw7GJv03hEap5sM5v qW7O79DgKaVE5oBXCAlyYmEPnYePte+rsmzzuSqJ77aJOhXu4KVZKGwFFA5r7+phfBCx 36UjNBSWDN9d9tBFt8/bPUfEqnEzs0+fli4CvcvdjOV2/IR5yjAp9OwTBIIR5hAPbyyN gveKEd31y7AWdGLVn1TQTqPMaJs4Hy5acvbbLSxbdPZXOEzTUcw2DwwBVK/NiMobNclD G+Xg== 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:cc; bh=wpd/Nx5M1DfFqNrrjYb4cLAvoTBHuFJljCPun8zkLxk=; b=OWPEFbJRfeBktJUTjO0qyvdOArZPX9EyAOtltwoBk1CO0UCCcg3KnQJKXqqbWq/P1A /eNHcq1rdWDjYD9mI+k+1SfeoPcga5JhLLZoTViYI2FVrel3Q3rBEbufYj+vpfdNXLyY IA4/6Cwxf/eQVddCHIJjeAL14h4Bo+1caFC2OEoHxMi4dAznAZiOVtu4zA88syNeeKBi eZzL5a3oPy8qpnqxUWLt0OHkl0OrUwrq5dU4Npy7MQxzw57k1a7nVayzpvlhtXJbEIDF IXWFFkbrAKOM74oB2eiNZEXoNf2/CXwmN1t4qyqobRARplVP65zP99D0wUi/1aHOjPGC Gi4Q== X-Gm-Message-State: AODbwcCCfG55cvpJvqZ3jENWzhdBD/XtC3JmUmHu+QVrMynpmJKr10Mg nFIAzrC2ealHkTdnLETq4q4IcYhnPw== X-Received: by 10.25.235.210 with SMTP id f79mr3716193lfk.27.1494688368659; Sat, 13 May 2017 08:12:48 -0700 (PDT) In-Reply-To: <9915c795-9efd-4cd8-aa0d-bc072eb340ee@default> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22b 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:214823 Archived-At: --001a113befc8439496054f694144 Content-Type: text/plain; charset="UTF-8" On Sat, May 13, 2017, 10:58 AM Drew Adams wrote: > > I'm probably missing something, but (to me, so far) all of this > has the scent of a solution looking for a problem to solve. > +1 bind-keys from use-package already allows for succinct key bindings to the same or multiple key maps. Have you tried that OP? > -- Kaushal Modi --001a113befc8439496054f694144 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, May 13, 2017, 10:58 AM = Drew Adams <drew.adams@oracle.c= om> wrote:

I'm probably missing something, but (to me, so far) all of this
has the scent of a solution looking for a problem to solve.

+1

bind-keys from use-p= ackage already allows for succinct key bindings to the same or multiple key= maps. Have you tried that OP?
--

Kaushal Modi

--001a113befc8439496054f694144--