unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35278] Add emacs-ace-jump-mode
@ 2019-04-14 18:47 Tim Gesthuizen
  2019-04-15 16:05 ` bug#35278: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Gesthuizen @ 2019-04-14 18:47 UTC (permalink / raw)
  To: 35278

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-ace-jump-mode.patch --]
[-- Type: text/x-patch, Size: 1637 bytes --]

From 3ee0e4071e8063f6404f8e7c43f175a80f652112 Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#35278: Add emacs-ace-jump-mode
  2019-04-14 18:47 [bug#35278] Add emacs-ace-jump-mode Tim Gesthuizen
@ 2019-04-15 16:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-04-15 16:05 UTC (permalink / raw)
  To: Tim Gesthuizen; +Cc: 35278-done

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

Hi Tim,

Tim Gesthuizen <tim.gesthuizen@yahoo.de> skribis:

> 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.

I think it’s OK.

> From 3ee0e4071e8063f6404f8e7c43f175a80f652112 Mon Sep 17 00:00:00 2001
> From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
> 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.

I made the adjustments below to satisfy ‘guix lint’ and to fix a couple
of wording issues in the description and committed.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1677 bytes --]

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2c0106efbf..9d69938683 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -727,20 +727,21 @@ index is considered the key).")
     (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"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "1bwvzh056ls2v7y26a0s4j5mj582dmds04lx4x6iqihs04ss74bb"))
+              (file-name (git-file-name name version))))
     (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
+    (description "Ace-jump-mode is a fast/direct cursor location minor
+mode.  It creates an N-Branch search tree internally and marks all
+the possible position with predefined keys in within the whole Emacs
+view.  This allows you to move to the character, word, or line almost
 directly.")
     (license license:gpl3+)))
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-15 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 18:47 [bug#35278] Add emacs-ace-jump-mode Tim Gesthuizen
2019-04-15 16:05 ` bug#35278: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).