Subject: Add emacs-ace-jump-mode
From: Tim Gesthuizen <[email-masked]>
To: [email-masked]
Date: Sun, 14 Apr 2019 20:47:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,
I packaged emacs-ace-jump-mode, a small package for navigation in
Emacs. It would be nice if we could add to Guix. However: The licensing
notice in the source file is copied out of Emacs. I don't know whether
that is ok.

Tim.

From 3ee0e4071e8063f6404f8e7c43f175a80f652112 Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <[email-masked]>
Date: Sat, 13 Apr 2019 13:46:05 +0200
Subject: [PATCH] gnu: Add emacs-ace-jump-mode

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c8cd3a7ed5..844f870809 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -722,6 +722,28 @@ can take association lists, hash tables, and in some cases vectors (where the
 index is considered the key).")
     (license license:gpl3+)))
 
+(define-public emacs-ace-jump-mode
+  (package
+    (name "emacs-ace-jump-mode")
+    (version "2.0")
+    (home-page "https://github.com/winterTTr/ace-jump-mode")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+	     (url (string-append
+		   home-page ".git"))
+	     (commit (string-append "v" version))))
+       (sha256 (base32 "1bwvzh056ls2v7y26a0s4j5mj582dmds04lx4x6iqihs04ss74bb"))))
+    (build-system emacs-build-system)
+    (synopsis "Cursor location minor mode for fast navigation")
+    (description "ace-jump-mode is a fast/direct cursor location minor
+mode. It will create the N-Branch search tree internal and marks all
+the possible position with predefined keys in within the whole emacs
+view.  Allowing you to move to the character/word/line almost
+directly.")
+    (license license:gpl3+)))
+
 (define-public emacs-anaphora
   (package
     (name "emacs-anaphora")
-- 
2.21.0