Subject: [bug#36645] [PATCH] Add and update Emacs packages

From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:27:55 +0200

See attached.
From 7dbafd636ed8a26a0bff567efaf9835641c7ffbf Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:24:46 +0200
Subject: [PATCH 2/5] gnu: Add emacs-so-long.

* gnu/packages/emacs-xyz.scm (emacs-so-long): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8cfe27e29f..d986c258c0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13665,6 +13665,30 @@ reload the configuration with @code{gpgconf --reload gpg-agent}, and start the
 server with @code{M-x pinentry-start}.")
       (license license:gpl3+))))
 
+(define-public emacs-so-long
+  (let ((commit "3ebe97decdb5cbbfba82ca686e0ad2c7d2722b4a")
+        (version "1.0")
+        (revision "1"))
+    (package
+      (name "emacs-so-long")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.savannah.gnu.org/git/so-long.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0fi71g5rsdsi978jz8406k8hvzgnssm9wxar8yqfhs97178r9s5m"))))
+      (build-system emacs-build-system)
+      (home-page "https://www.emacswiki.org/emacs/SoLong")
+      (synopsis "Improve performance in files with long lines")
+      (description "This package improves the performance of Emacs when
+viewing files with long lines.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0

From 13cc138c6912c7b0c97b4bac27a627e5d754844b Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:24:32 +0200
Subject: [PATCH 1/5] gnu: emacs-prescient: Update to 3.2.

* gnu/packages/emacs-xyz.scm (emacs-prescient): Update to 3.2.
---
 gnu/packages/emacs-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4e8c2c9ac6..8cfe27e29f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4238,7 +4238,7 @@ them easier to distinguish from other, less important buffers.")
 (define-public emacs-prescient
   (package
     (name "emacs-prescient")
-    (version "3.1")
+    (version "3.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4247,7 +4247,7 @@ them easier to distinguish from other, less important buffers.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1cdjvlwlvxxazz7hlxgvdp0pznvj1gzqa2r6k4im0cpdrnnng6j6"))))
+                "0d60h4rfm5jcf8cf11z91wjqp0xcrviskqzyqhfliqvy2i2yl6ks"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-company" ,emacs-company)
-- 
2.22.0

From 7d11232c51218a3a115b8bbe76ed535fc6f0b678 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:05 +0200
Subject: [PATCH 3/5] gnu: Add emacs-github-review.

* gnu/packages/emacs-xyz.scm (emacs-github-review): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d986c258c0..2ad0b3f201 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13689,6 +13689,33 @@ server with @code{M-x pinentry-start}.")
 viewing files with long lines.")
       (license license:gpl3+))))
 
+(define-public emacs-github-review
+  (let ((commit "9c3ffe30fba5d02e9951e76d1a5be2ed046663da")
+        (version "0.1")
+        (revision "1"))
+    (package
+      (name "emacs-github-review")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/charignon/github-review")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "078rv6f2p3wrznhgvmkhd071bwy72007f5l2m2a0r1k2i3vbfaja"))))
+      (build-system emacs-build-system)
+      (inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-s" ,emacs-s)
+         ("emacs-ghub" ,emacs-ghub)))
+      (home-page "https://github.com/charignon/github-review")
+      (synopsis "")
+      (description "")
+      (license license:gpl3+))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0

From 5a330182e9e04474f42cfc023ddf0ddf53fb3e12 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:27 +0200
Subject: [PATCH 5/5] gnu: Add emacs-focus.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f57214618d..2afe9d75d8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13744,6 +13744,30 @@ viewing files with long lines.")
 searches with @code{ripgrep}.")
       (license license:gpl3+))))
 
+(define-public emacs-focus
+  (let ((commit "ab42b8779929beeb7878c7fb3d3ccd80d9327c7f")
+        (version "0.1.1")
+        (revision "1"))
+    (package
+      (name "emacs-focus")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/larstvei/Focus")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "079v1syid7h2vr2ya6hs6hl0pgj60qdsw60mqw4cj2zllmkrkwj4"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/larstvei/Focus")
+      (synopsis "Minor mode for focusing in on relevant text")
+      (description "This package provides a minor mode that dims the color of
+text in neighboring sections.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0

From b661f334c47cf47b946ffdd62849ea0e4c4b992c Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:16 +0200
Subject: [PATCH 4/5] gnu: Add emacs-deadgrep.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2ad0b3f201..f57214618d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13716,6 +13716,34 @@ viewing files with long lines.")
       (description "")
       (license license:gpl3+))))
 
+(define-public emacs-deadgrep
+  (let ((commit "caeb37b8d6ab83f0eba353d6bbb29678190d4419")
+        (version "0.7")
+        (revision "1"))
+    (package
+      (name "emacs-deadgrep")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Wilfred/deadgrep")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "158fqha8nilwfzmw15lcsq8b099j8wclzq303md0j4mfr2q2gfvs"))))
+      (build-system emacs-build-system)
+      (inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-s" ,emacs-s)
+         ("emacs-spinner" ,emacs-spinner)))
+      (home-page "https://github.com/Wilfred/deadgrep")
+      (synopsis "Frontend for @code{ripgrep}")
+      (description "This package provides an Emacs interface for performing
+searches with @code{ripgrep}.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0