* [bug#49585] [PATCH] gnu: Add emacs-worf.
@ 2021-07-15 21:34 Morgan.J.Smith
0 siblings, 0 replies; only message in thread
From: Morgan.J.Smith @ 2021-07-15 21:34 UTC (permalink / raw)
To: 49585; +Cc: Morgan Smith
From: Morgan Smith <Morgan.J.Smith@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-15 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 21:34 [bug#49585] [PATCH] gnu: Add emacs-worf Morgan.J.Smith
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.