From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oD5qL+cLtmLUjQAAbAwnHQ (envelope-from ) for ; Fri, 24 Jun 2022 21:09:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MJNYL+cLtmLnygAAauVa8A (envelope-from ) for ; Fri, 24 Jun 2022 21:09:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2387227E51 for ; Fri, 24 Jun 2022 21:09:27 +0200 (CEST) Received: from localhost ([::1]:44146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4ogF-0006s2-WD for larch@yhetil.org; Fri, 24 Jun 2022 15:09:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4oft-0006pi-Vs for guix-patches@gnu.org; Fri, 24 Jun 2022 15:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4oft-0000al-Nj for guix-patches@gnu.org; Fri, 24 Jun 2022 15:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4oft-0005SO-JB for guix-patches@gnu.org; Fri, 24 Jun 2022 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56195] [PATCH]: Add sbcl-nkeymaps Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jun 2022 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56195 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 56195@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165609768320892 (code B ref -1); Fri, 24 Jun 2022 19:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 19:08:03 +0000 Received: from localhost ([127.0.0.1]:43590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4oex-0005Qu-6U for submit@debbugs.gnu.org; Fri, 24 Jun 2022 15:08:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:51428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4oev-0005Qc-HF for submit@debbugs.gnu.org; Fri, 24 Jun 2022 15:08:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4oev-0006fr-9z for guix-patches@gnu.org; Fri, 24 Jun 2022 15:08:01 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:40805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4oet-0000JH-GK for guix-patches@gnu.org; Fri, 24 Jun 2022 15:08:01 -0400 Received: by mail-wm1-x32f.google.com with SMTP id v65-20020a1cac44000000b003a03c76fa38so1169612wme.5 for ; Fri, 24 Jun 2022 12:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5CIhVQvvNn34PyFQofVlMzsV8DRWjc7hn05327ucczc=; b=ItQvRSHo2jcNtxqj68zEy2lbDdPtX5WAcZ/AXUvUNgk5WDR4Br7jh/bzzeoyrM+/rQ tcOHKLH7lPAjufYREp9HtGZ/q645FvtcVmQQPGKX2ao64rFelj8X/JQ7QG1SKFccLMwH qDx6mZgysv8ny0faVqB5unCzDDml4DFDagyIemfgvdYXPESicypRiFfkGPMwpDSoVZ8S RmzAZF/sJWlywHkktpCC8dZz9s5KPNhrlJbryKRT4qBbMOBEiD75/254IWmUtB0DXi2G HsoWFXEHGWXBBlAAYhhqHTkR5kutMZeZt+KLMkgNBeDeqo1OOMy3ZoJowN0a4hZLUKsd Hlyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5CIhVQvvNn34PyFQofVlMzsV8DRWjc7hn05327ucczc=; b=xHCwkchHa57kKLs44GYMtCzcnEN43owW8s/yKEaeBnihy9alH86+GS+mldm4Ji0GlO 6gwdu+UchPxEn80bBqzCXInjaB+HVfYOH2WbeiBFkTckmlOp56pLQTaf/F5mcqFR/ENV WH06playQhpGYQF953Qw+W9i3/cJkRex6gBr+Ng0l4V85UadxfTSpggTUVUwGophFsiu z3doh8ywengT0hqkJws2r/krhxb1pKVB+HvaCdwUXWA4+VJrdFx20HUWWrbF2tfNCbYZ Ou+MVC3cRA4yFwLZ/MMeN4oF8Ce1gFq1hIA0S1Zsrr7uDnlD3JmCvhY86yAicSgpwQ6S GvNQ== X-Gm-Message-State: AJIora+RnXQCezOnQv3XNlxlm6zJloeJIYt2Uid/DMfMsbAsCDgeErCk 0AFXFUIIGzkxCCw2KRoAX8qnXNThCM0= X-Google-Smtp-Source: AGRyM1vKYOPunIlkbbO8ZdPFTHq5ghbevScDbFGYAOgRFt63Znn3ysbFG7qLFGWEQOdBreU6wUYSOQ== X-Received: by 2002:a05:600c:a18d:b0:3a0:2c9a:b3de with SMTP id id13-20020a05600ca18d00b003a02c9ab3demr564277wmb.147.1656097677902; Fri, 24 Jun 2022 12:07:57 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id z24-20020a1c4c18000000b0039db31f6372sm7478459wmf.2.2022.06.24.12.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 12:07:56 -0700 (PDT) From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes References: <877d56jdb1.fsf@gmail.com> <87fsjudpol.fsf@ambrevar.xyz> <87wnd6vx6o.fsf@gmail.com> <87a6a2dlxu.fsf@ambrevar.xyz> Date: Fri, 24 Jun 2022 20:07:55 +0100 In-Reply-To: <87a6a2dlxu.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 24 Jun 2022 19:13:17 +0200") Message-ID: <87o7yhx4l0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=andremegafone@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656097767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=5CIhVQvvNn34PyFQofVlMzsV8DRWjc7hn05327ucczc=; b=eVbhLZv38kEK+Ra6hY0NpBo//Bz6mpmgPYLSTw0AdtMbPSZMqlMnp0Mt/j38PXu4LekThM wSlbcapk+ZkG1f9gFDqU1to0wIG6k+MBSkv6u0oxi0cNUcmFBuFq7SKLbC5e7XGA32iAeI IKEdTVoqjUzv8IvPJA+kyLSnd3/xwVgy6IpdRt4ZZv2q5nXbVfMwHk8bXzXCAcnuJzDqpE m5VaOfN8iGFRNN12pCGk+7D6hUfPRjFcuiZ5JK8C/243gVIEtWStXchtDaRyUGKuL56F20 zXqXVv5QfvLfiCef67S1W1E7xEapQRK3QRUtKYQIAjouCQe2/07xNsULREjohg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656097767; a=rsa-sha256; cv=none; b=RF4xfmA3rTxrC3ET4WI5+zEPpleMAddVYs7M1hZC/Y+VVCpW+PThZ2hNBHPlrYy2hiBt3F jfwhMihcdPV4bGTXmHy3ivsQn/hHivX8DCFzqXp3IP8LUYvlypMmjMB8rboRv1fdkXCImK IcYEsDrmIVMSgNjEgWNQ0yODM8GloIAh7M8955iEWjkiifl7VXtdmWA7rQNIiBdiNaGsO0 z6E+5zuZBQxnr0/DQ1bDop82xQv6oalv1G4SuazyQ9w57nM777Ne7WAa2EQZPnK3/LkcEA uueu+yzoB7yULgQ6ifiChtjyFJWC+LgU+ppc0/0FQ35onKVFPbWXz3gOlq8R2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ItQvRSHo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ItQvRSHo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2387227E51 X-Spam-Score: 5.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3HV1s6rE7Paw --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > It should, but your Guix store might be using the old repo, which is why > you do not see the change. Right. > Try with a different file-name, and you'll get the new hash. I did it by passing the flag -S to guix build. Please find the patch attached. Thanks. --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..." --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-sbcl-nkeymaps.patch Content-Transfer-Encoding: quoted-printable >From 1e974b40c9ace93e613c1ac4ca28d1afcd260eee Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Andr=3DC3=3DA9=3D20A=3D2E=3D20Gomes?=3D Date: Fri, 24 Jun 2022 16:19:26 +0100 Subject: [PATCH] gnu: Add sbcl-nkeymaps. * gnu/packages/lisp-xyz.scm (sbcl-nkeymaps): New variable. --- gnu/packages/lisp-xyz.scm | 73 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index a88f19e28e..30cb605d3b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -21467,3 +21467,76 @@ (define-public cl-clog =20 (define-public ecl-clog (sbcl-package->ecl-package sbcl-clog)) + +(define-public sbcl-nkeymaps + (package + (name "sbcl-nkeymaps") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atlas-engineer/nkeymaps") + (commit version))) + (file-name (git-file-name "nkeymaps" version)) + (sha256 + (base32 + "0shkklc3aiq44hyv1q6fahw4vjcr0iw4zsmxbhmxqh04r7185ddf")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-cl-str + sbcl-fset + sbcl-trivial-package-local-nicknames)) + (native-inputs + (list sbcl-prove)) + (home-page "https://github.com/atlas-engineer/nkeymaps") + (synopsis "Keymap facility for Common Lisp") + (description "Inspired by Emacsy (keymap.scm) which is inspired by Ema= cs. +@itemize + +@item Support prefix keys to other keymaps. For instance, if you prefix +my-mode-map with C-c, then all bindings for my-mode will be accessible aft= er +pressing C-c. + +@item List all bindings matching a given prefix. (Also known as which-key = in +Emacs.) + +@item List the bindings associated to a command. + +@item Support multiple inheritance. + +@item Support keycode. + +@item Validate keyspec at compile time. + +@item define-key can set multiple bindings in a single call. + +@item Support multiple scheme to make it easy to switch between, say, +Emacs-style and VI-style bindings. This orthogonality to keymaps composes +better than having multiple keymaps: changing scheme applies to the entire +program, which is easier than looping through all keymaps to change them. + +@item Translate keyspecs as a fallback. For instance if shift-a is not bou= nd, +check A. + +@item Behaviour can be customized with global parameters such as +*print-shortcut*. + +@item The compose function can merge multiple keymaps together. + +@item Support multiple arguments when that makes sense (e.g. multiple keym= aps +for lookup-key). + +@item Key remapping =C3=A0-la Emacs. + +@item Typed keymaps, i.e. keymaps where bound values can only be of a given +type. This is convenient to catch typos, for instance when binding 'FOO +instead of #'FOO.") + (license license:expat))) + +(define-public cl-nkeymaps + (sbcl-package->cl-source-package sbcl-nkeymaps)) + +(define-public ecl-nkeymaps + (sbcl-package->ecl-package sbcl-nkeymaps)) --=20 2.36.1 --=-=-=--