unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34994] [PATCH] gnu: Add emacs-ace-link.
@ 2019-03-26  1:22 mikadoZero
  2019-04-16 17:04 ` bug#34994: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: mikadoZero @ 2019-03-26  1:22 UTC (permalink / raw)
  To: 34994

This is my first patch that adds a package to Guix.  Feedback is
appreciated.

`guix lint emacs-ace-link` completes without warnings.

These build commands are successful:

`guix build --rounds=4 emacs-ace-link`
`guix build --system=armhf-linux --rounds=4 emacs-ace-link`
`guix build --system=aarch64-linux --rounds=4 emacs-ace-link`

These build commands were not successful for me:

`guix build --system=powerpc-linux --rounds=4 emacs-ace-link`
`guix build --system=mips64el-linux --rounds=4 emacs-ace-link`

https://lists.gnu.org/archive/html/help-guix/2019-03/msg00111.html

-----------

From 88fa9952ab4ce2e8b9d77ca55fd93c9e70936d02 Mon Sep 17 00:00:00 2001
From: mikadoZero <mikadozero@yandex.com>
Date: Mon, 25 Mar 2019 19:39:09 -0400
Subject: [PATCH] gnu: Add emacs-ace-link.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9969c7968c..f4c068db7a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@posteo.net>
 ;;; Copyright © 2019 Dimakakos Dimos <bendersteed@teknik.io>
 ;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
+;;; Copyright © 2019 mikadoZero <mikadozero@yandex.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1090,6 +1091,34 @@ within a specified width.  It is useful for displaying long track titles.")
 ;;; Miscellaneous.
 ;;;
 
+(define-public emacs-ace-link
+  (package
+    (name "emacs-ace-link")
+    (version "0.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/abo-abo/ace-link.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "147dz79vg4ym5wg3d544bw2khdb2j3hr73rw4qfm64wf0q2dj0vk"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-avy" ,emacs-avy)))
+    (home-page "https://github.com/abo-abo/ace-link")
+    (synopsis "Quickly follow links in Emacs")
+    (description
+     "Currently, to jump to a link in a @file{Info-mode}, @file{help-mode},
+ @file{woman-mode}, @file{org-mode}, @file{eww-mode}, @file{compilation-mode},
+ @file{goto-address-mode} buffer, you can tab through the links to select the
+ one you want.  This is an O(N) operation, where the N is the amount of links.
+  This package turns this into an O(1) operation.  It does so by assigning a
+ letter to each link using avy.")
+    (license license:gpl3+)))
+
 (define-public emacs-bbdb
   (package
     (name "emacs-bbdb")
-- 
2.21.0

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

* bug#34994: [PATCH] gnu: Add emacs-ace-link.
  2019-03-26  1:22 [bug#34994] [PATCH] gnu: Add emacs-ace-link mikadoZero
@ 2019-04-16 17:04 ` Ludovic Courtès
  2019-04-17 22:03   ` [bug#34994] " mikadoZero
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-04-16 17:04 UTC (permalink / raw)
  To: mikadoZero; +Cc: 34994-done

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

mikadoZero <mikadozero@yandex.com> skribis:

>>From 88fa9952ab4ce2e8b9d77ca55fd93c9e70936d02 Mon Sep 17 00:00:00 2001
> From: mikadoZero <mikadozero@yandex.com>
> Date: Mon, 25 Mar 2019 19:39:09 -0400
> Subject: [PATCH] gnu: Add emacs-ace-link.
>
> * gnu/packages/emacs-xyz.scm (emacs-ace-link): New variable.

Applied with the tiny changes below, thanks!

Ludo’.


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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1161630b52..7aec695205 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1161,9 +1161,9 @@ within a specified width.  It is useful for displaying long track titles.")
     (home-page "https://github.com/abo-abo/ace-link")
     (synopsis "Quickly follow links in Emacs")
     (description
-     "Currently, to jump to a link in a @file{Info-mode}, @file{help-mode},
- @file{woman-mode}, @file{org-mode}, @file{eww-mode}, @file{compilation-mode},
- @file{goto-address-mode} buffer, you can tab through the links to select the
+     "Currently, to jump to a link in a @code{Info-mode}, @code{help-mode},
+@code{woman-mode}, @code{org-mode}, @code{eww-mode}, @code{compilation-mode},
+@code{goto-address-mode} buffer, you can tab through the links to select the
 one you want.  This is an O(N) operation, where the N is the amount of links.
 This package turns this into an O(1) operation.  It does so by assigning a
 letter to each link using avy.")

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

* [bug#34994] [PATCH] gnu: Add emacs-ace-link.
  2019-04-16 17:04 ` bug#34994: " Ludovic Courtès
@ 2019-04-17 22:03   ` mikadoZero
  0 siblings, 0 replies; 3+ messages in thread
From: mikadoZero @ 2019-04-17 22:03 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 34994-done


Thank you

Ludovic Courtès writes:

> mikadoZero <mikadozero@yandex.com> skribis:
>
>>>From 88fa9952ab4ce2e8b9d77ca55fd93c9e70936d02 Mon Sep 17 00:00:00 2001
>> From: mikadoZero <mikadozero@yandex.com>
>> Date: Mon, 25 Mar 2019 19:39:09 -0400
>> Subject: [PATCH] gnu: Add emacs-ace-link.
>>
>> * gnu/packages/emacs-xyz.scm (emacs-ace-link): New variable.
>
> Applied with the tiny changes below, thanks!
>
> Ludo’.
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 1161630b52..7aec695205 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -1161,9 +1161,9 @@ within a specified width.  It is useful for displaying long track titles.")
>      (home-page "https://github.com/abo-abo/ace-link")
>      (synopsis "Quickly follow links in Emacs")
>      (description
> -     "Currently, to jump to a link in a @file{Info-mode}, @file{help-mode},
> - @file{woman-mode}, @file{org-mode}, @file{eww-mode}, @file{compilation-mode},
> - @file{goto-address-mode} buffer, you can tab through the links to select the
> +     "Currently, to jump to a link in a @code{Info-mode}, @code{help-mode},
> +@code{woman-mode}, @code{org-mode}, @code{eww-mode}, @code{compilation-mode},
> +@code{goto-address-mode} buffer, you can tab through the links to select the
>  one you want.  This is an O(N) operation, where the N is the amount of links.
>  This package turns this into an O(1) operation.  It does so by assigning a
>  letter to each link using avy.")

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

end of thread, other threads:[~2019-04-17 22:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  1:22 [bug#34994] [PATCH] gnu: Add emacs-ace-link mikadoZero
2019-04-16 17:04 ` bug#34994: " Ludovic Courtès
2019-04-17 22:03   ` [bug#34994] " mikadoZero

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