GNU bug report logs - #49585
[PATCH] gnu: Add emacs-worf.

Previous Next

Package: guix-patches;

Reported by: Morgan.J.Smith <at> outlook.com

Date: Thu, 15 Jul 2021 21:36:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 49585 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49585; Package guix-patches. (Thu, 15 Jul 2021 21:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Morgan.J.Smith <at> outlook.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 15 Jul 2021 21:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Morgan.J.Smith <at> outlook.com
To: guix-patches <at> gnu.org
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Subject: [PATCH] gnu: Add emacs-worf.
Date: Thu, 15 Jul 2021 17:34:30 -0400
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9f9f9909b3..6cf8f36432 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19422,6 +19422,44 @@ It replaces the standard completions buffer with Ido prompt.")
 using user-provided rules.")
     (license license:gpl3+)))
 
+(define-public emacs-worf
+  ;; Last release was in 2016
+  (let ((revision "0")
+        (commit "28d381e2603a79340a94a410acbbb8a6b3e237d8"))
+    (package
+      (name "emacs-worf")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/abo-abo/worf")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "15567bns5kag47d58xapr4z0gfj5py3a8lwfpjlhmzccmarjr7x8"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'delete-elpa.el
+             (lambda _
+               (delete-file "elpa.el")))
+           (add-after 'unpack 'require-hydra
+             (lambda _
+               (substitute* "worf.el"
+                 ((";;; Code:") ";;; Code:\n(require 'hydra)")))))))
+      (propagated-inputs
+       `(("ace-link" ,emacs-ace-link)
+         ("hydra" ,emacs-hydra)
+         ("swiper" ,emacs-swiper)
+         ("zoutline" ,emacs-zoutline)))
+      (home-page "https://github.com/abo-abo/worf")
+      (synopsis "Minor mode that provides vi-like bindings for org-mode")
+      (description "Minor mode that provides vi-like bindings for org-mode")
+      (license license:gpl3+))))
+
 (define-public emacs-on-screen
   (package
     (name "emacs-on-screen")
-- 
2.32.0





This bug report was last modified 2 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.