all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#55786] [PATCH 0/1] Add emacs-spaceleader.
@ 2022-06-03 19:16 jgart via Guix-patches via
  2022-06-03 19:21 ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map jgart via Guix-patches via
  0 siblings, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-06-03 19:16 UTC (permalink / raw)
  To: 55786

Hi Guixers,

Here's spaceleader, an implementation of the Spacemacs leader key functionality.

https://github.com/mohkale/spaceleader

all best,

jgart

https://whereis.みんな/




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map.
  2022-06-03 19:16 [bug#55786] [PATCH 0/1] Add emacs-spaceleader jgart via Guix-patches via
@ 2022-06-03 19:21 ` jgart via Guix-patches via
  2022-06-03 19:21   ` [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader jgart via Guix-patches via
  2022-06-03 19:41   ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map Maxime Devos
  0 siblings, 2 replies; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-06-03 19:21 UTC (permalink / raw)
  To: 55786; +Cc: jgart

* gnu/packages/emacs-xyz.scm (emacs-bind-map): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index edcd6a3f4b..4f35cf8a9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30437,6 +30437,33 @@ (define-public emacs-iter2
 original package.")
     (license license:gpl3+)))
 
+(define-public emacs-bind-map
+  (let ((commit "510a24138d8de3b8df0783f1ac493a551fc9bd74")
+        (revision "0"))
+    (package
+      (name "emacs-bind-map")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/justbur/bind-map")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0crxjy1ykgb429z8ikjv5iy8vg5i0qn8n86p2lgri4glx45sxxx0"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/mohkale/bind-map")
+      (synopsis "Bind personal keymaps in multiple locations")
+      (description
+"@code{emacs-bind-map} provides a macro bind-map which can be used to
+make a keymap available across different leader keys including ones
+tied to evil states.  It is essentially a generalization of the idea
+of a leader key as used in Vim or the @code{emacs-evil-leader} package,
+and allows for an arbitrary number of leader keys.")
+      (license license:gpl3+))))
+
 (define-public emacs-promise
   (package
     (name "emacs-promise")
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader.
  2022-06-03 19:21 ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map jgart via Guix-patches via
@ 2022-06-03 19:21   ` jgart via Guix-patches via
  2022-06-03 19:43     ` Maxime Devos
  2022-06-03 19:41   ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map Maxime Devos
  1 sibling, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-06-03 19:21 UTC (permalink / raw)
  To: 55786; +Cc: jgart

* gnu/packages/emacs-xyz.scm (emacs-spaceleader): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4f35cf8a9c..f8396b199b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30464,6 +30464,36 @@ (define-public emacs-bind-map
 and allows for an arbitrary number of leader keys.")
       (license license:gpl3+))))
 
+(define-public emacs-spaceleader
+  (let ((commit "5e27c7c517f60beaf2bd2446957aec0ce55e11fe")
+        (revision "0"))
+    (package
+      (name "emacs-spaceleader")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mohkale/spaceleader")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0ghdybh7rpyrzp02bw43ks009n9idck9sxpjfnbqpyr6j45l5wnh"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+        (list emacs-dash
+              emacs-general
+              emacs-which-key
+              emacs-use-package
+              emacs-bind-map))
+      (home-page "https://github.com/mohkale/spaceleader")
+      (synopsis "Emacs leader-key implementation from Spacemacs")
+      (description
+"@code{emacs-spaceleader} implements the leader-key functionality from
+spacemacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-promise
   (package
     (name "emacs-promise")
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map.
  2022-06-03 19:21 ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map jgart via Guix-patches via
  2022-06-03 19:21   ` [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader jgart via Guix-patches via
@ 2022-06-03 19:41   ` Maxime Devos
  2022-06-04 21:32     ` bug#55786: " Tobias Geerinckx-Rice via Guix-patches via
  1 sibling, 1 reply; 6+ messages in thread
From: Maxime Devos @ 2022-06-03 19:41 UTC (permalink / raw)
  To: jgart, 55786

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

jgart via Guix-patches via schreef op vr 03-06-2022 om 14:21 [-0500]:
> +               (url "https://github.com/justbur/bind-map")
> +               (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32
> +           "0crxjy1ykgb429z8ikjv5iy8vg5i0qn8n86p2lgri4glx45sxxx0"))))
> +      (build-system emacs-build-system)
> +      (home-page "https://github.com/mohkale/bind-map")

Both of these result in a 404 for me.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader.
  2022-06-03 19:21   ` [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader jgart via Guix-patches via
@ 2022-06-03 19:43     ` Maxime Devos
  0 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-06-03 19:43 UTC (permalink / raw)
  To: jgart, 55786

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

jgart via Guix-patches via schreef op vr 03-06-2022 om 14:21 [-0500]:
> +      (version (git-version "0.2" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/mohkale/spaceleader")
> +               (commit commit)))

A copy of the GPL is missing, while the GPL requires it:

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that [...]; and give all
recipients a copy of this License along with the Program.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55786: [PATCH 1/2] gnu: Add emacs-bind-map.
  2022-06-03 19:41   ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map Maxime Devos
@ 2022-06-04 21:32     ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 0 replies; 6+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2022-06-04 21:32 UTC (permalink / raw)
  To: jgart, 55786-done; +Cc: Maxime Devos

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Hi,

The GPL was added thanks to jgart[0], so I've pushed both of these 
patches.

Maxime Devos 写道:
> Both of these result in a 404 for me.

https://github.com/justbur/emacs-bind-map (with extra ‘emacs-’) 
works for me.

I changed the base version of emacs-bind-map to 1.1.2 as the 
commit we use postdates [1].

My guess is an incomplete copy-paste job led to both?

…or maybe not, since spaceleader states its version as 0.0.3.  I 
don't see where either 0.2 came from.

I took the liberty of moving both lonely source hash strings up a 
line, because I can :o)

I also re-indented the packages and expanded the description of 
emacs-spaceleader just a bit, based on the .el comment and our own 
emacs-evil-leader package.

Thanks!

T G-R

[0]: https://github.com/mohkale/spaceleader/issues/3
[1]: 
https://github.com/justbur/emacs-bind-map/commit/6977e0fec5c4a3c62a10503798c2a15194167046

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-04 22:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 19:16 [bug#55786] [PATCH 0/1] Add emacs-spaceleader jgart via Guix-patches via
2022-06-03 19:21 ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map jgart via Guix-patches via
2022-06-03 19:21   ` [bug#55786] [PATCH 2/2] gnu: Add emacs-spaceleader jgart via Guix-patches via
2022-06-03 19:43     ` Maxime Devos
2022-06-03 19:41   ` [bug#55786] [PATCH 1/2] gnu: Add emacs-bind-map Maxime Devos
2022-06-04 21:32     ` bug#55786: " Tobias Geerinckx-Rice via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.