Subject: [PATCH] gnu: Add emacs-devil.

From: Spencer King <[email-masked]>
Date: Sun, 9 Jun 2024 17:52:06 -0500

* gnu/packages/emacs-xyz.scm (emacs-devil): New variable.

Change-Id: Ic240d6e80a236a91514f3599eaa051f9ffcd15be
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bef0afc99f..435fdccd13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -139,6 +139,7 @@
 ;;; Copyright © 2024 Suhail Singh <[email-masked]>
 ;;; Copyright © 2024 dan <[email-masked]>
 ;;; Copyright © 2024 Ilya Chernyshov <[email-masked]>
+;;; Copyright © 2024 Spencer King <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11029,6 +11030,28 @@ (define-public emacs-god-mode
 @samp{C-} (among other helpful shortcuts).")
     (license license:gpl3+)))
 
+(define-public emacs-devil
+  (package
+    (name "emacs-devil")
+    (version "0.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/susam/devil")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pr9yf6f37sz5qy1snn8ag5bvg6lza7q635jh8jhaqqfp37jvv1y"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/susam/devil")
+    (synopsis "Minor mode for translating key sequences")
+    (description
+     "Devil intercepts your devil key (comma by default) to let you type key sequences
+without using modifier keys.  Devil is highly configurable and it can be
+configured to perform other key sequence translations.")
+    (license license:expat)))
+
 (define-public emacs-jinja2-mode
   (package
     (name "emacs-jinja2-mode")

base-commit: bc8a41f4a8d9f1f0525d7bc97c67ed3c8aea3111
-- 
2.41.0