[PATCH] gnu: Add emacs-caps-lock.

DoneSubmitted by LaFreniere, Joseph.
Details
2 participants
  • LaFreniere, Joseph
  • Nicolas Goaziou
Owner
unassigned
Severity
normal
L
L
LaFreniere, Joseph wrote on 26 Mar 2020 02:22
(address . guix-patches@gnu.org)
87tv2blxjk.fsf@lafreniere.xyz
Patch file is attached.

The commentary section in the upstream ELPA package is empty, so
the description in this recipe is highly editorialized.

--
Joseph LaFreniere
From fd938317abde6de68584d6162f634cac6e0948b6 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Wed, 25 Mar 2020 20:19:33 -0500
Subject: [PATCH] gnu: Add emacs-caps-lock.

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

Toggle diff (35 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2bfa5f95e5..4f2552222c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1728,6 +1728,28 @@ searches.  Unlike code@{emacs-wiki.el}, it can be combined with any format.")
 Emacs buffer.")
     (license license:gpl3+)))
 
+(define-public emacs-caps-lock
+  (package
+    (name "emacs-caps-lock")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://elpa.gnu.org/packages/caps-lock-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1i4hwam81p4dr0bk8257fkiz4xmv6knkjxj7a00fa35kgx5blpva"))))
+    (build-system emacs-build-system)
+    (home-page
+     "http://elpa.gnu.org/packages/caps-lock.html")
+    (synopsis "Caps-lock as a minor mode")
+    (description
+     "This package provides a minor mode to emulate the behavior of a
+caps-lock key.")
+    (license license:gpl3+)))
+
 (define-public emacs-chronometrist
   (package
     (name "emacs-chronometrist")
-- 
2.26.0
N
N
Nicolas Goaziou wrote on 30 Mar 2020 14:10
(name . LaFreniere, Joseph)(address . joseph@lafreniere.xyz)(address . 40232-done@debbugs.gnu.org)
875zem9h6a.fsf@nicolasgoaziou.fr
Hello,

"LaFreniere, Joseph" <joseph@lafreniere.xyz> writes:

Toggle quote (5 lines)
> Patch file is attached.
>
> The commentary section in the upstream ELPA package is empty, so the
> description in this recipe is highly editorialized.

Heh. I changed "caps-lock" into "Caps Lock".

Applied as 9782200ce5611af4c0a1a479a351d55ab4940107.

Thank you!

Regards,

--
Nicolas Goaziou
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 40232@debbugs.gnu.org