Subject: bug#26292: closed (Re: bug#26292: [PATCH] gnu: Add emacs-linum-relative.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Mar 2017 09:01:03 +0000

Your bug report

#26292: [PATCH] gnu: Add emacs-linum-relative.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26292: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26292
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26292: [PATCH] gnu: Add emacs-linum-relative.
From: [email-masked] (Ludovic Courtès)
To: Arun Isaac <[email-masked]>
Cc: [email-masked]
Date: Thu, 30 Mar 2017 11:00:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Arun Isaac <[email-masked]> skribis:

> * gnu/packages/emacs.scm (emacs-linum-relative): New variable.

Applied, thanks!

Subject: [PATCH] gnu: Add emacs-linum-relative.
From: Arun Isaac <[email-masked]>
To: [email-masked]
Cc: Arun Isaac <[email-masked]>
Date: Wed, 29 Mar 2017 12:40:04 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs.scm (emacs-linum-relative): New variable.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index bf6a84b0a..d156bf6bd 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3962,3 +3962,24 @@ abbreviation and automatically expand it into function templates.")
    (description "@code{emacs-memoize} is an Emacs library for
 memoizing functions.")
    (license license:unlicense)))
+
+(define-public emacs-linum-relative
+  (package
+    (name "emacs-linum-relative")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/coldnew/linum-relative/archive/"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/coldnew/linum-relative")
+    (synopsis "Relative line numbering for Emacs")
+    (description "@code{emacs-linum-relative} displays the relative
+line number on the left margin in Emacs.")
+    (license license:gpl2+)))
-- 
2.11.0