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

From: Brian Leung <[email-masked]>
Date: Wed, 17 Jul 2019 21:36:55 +0200

Hi Ludovic,

Sorry about that. I've rebased onto the latest master and updated; please
see attached.

Thanks,
Brian

On Wed, Jul 17, 2019 at 3:06 PM Ludovic Courtès <[email-masked]> wrote:

> Hello Brian,
>
> Brian Leung <[email-masked]> skribis:
>
> > 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.
>
> Applied.  (I’m going to install it right away…)
>
> > 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.
>
> Applied.
>
> > 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.
>
> [...]
>
> > +      (synopsis "")
> > +      (description "")
>
> Could you fill out these and resend this patch (and possibly the
> following patches if necessary)?
>
> Thanks,
> Ludo’.
>
From 9b085c866de96332d696d48b829f6712f8b529e1 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:05 +0200
Subject: [PATCH 1/5] gnu: Add emacs-github-review.

* gnu/packages/emacs-xyz.scm (emacs-github-review): 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 d6f43ecfef..c6ebaf9747 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13687,6 +13687,34 @@ 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 "Review GitHub pull requests within Emacs")
+      (description "This package provides commands to pull in, comment on, and
+accept and reject GitHub pull requests.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0

From 1254cbefd65717ac6da705c13d9761af05a4be4e Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:16 +0200
Subject: [PATCH 2/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 c6ebaf9747..bb06349a63 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13715,6 +13715,34 @@ viewing files with long lines.")
 accept and reject GitHub pull requests.")
       (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

From 6def2522fc8ee677429f666553f024d3f9b213a1 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Wed, 17 Jul 2019 21:27:18 +0200
Subject: [PATCH 4/5] gnu: Add emacs-pandoc-mode.

* gnu/packages/emacs-xyz.scm (emacs-pandoc-mode): 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 a366a5464c..62523ab261 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13767,6 +13767,30 @@ searches with @code{ripgrep}.")
 text in neighboring sections.")
       (license license:gpl3+))))
 
+(define-public emacs-pandoc-mode
+  (package
+    (name "emacs-pandoc-mode")
+    (version "2.27.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/joostkremers/pandoc-mode")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "04bqc7mhgkfks3nsvimd3rrriv4nqbksmv5ahlbbd03aqa2b0vrv"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-hydra" ,emacs-hydra)))
+    (home-page "https://github.com/joostkremers/pandoc-mode")
+    (synopsis "Minor mode for interacting with Pandoc")
+    (description "This package provides a Hydra menu for interacting with the
+Pandoc, the document-conversion tool.")
+    (license license:bsd-3)))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0

From d1162afac1c62189a53cc61a202d08b603e14a55 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Sun, 14 Jul 2019 04:25:27 +0200
Subject: [PATCH 3/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 bb06349a63..a366a5464c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13743,6 +13743,30 @@ accept and reject GitHub pull requests.")
 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 ab52afcfcc3b638c8d76cd8706b2297a8f08b116 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Wed, 17 Jul 2019 21:35:05 +0200
Subject: [PATCH 5/5] gnu: Add emacs-ccls.

* gnu/packages/emacs-xyz.scm (emacs-ccls): 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 62523ab261..88a4f37583 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13791,6 +13791,34 @@ text in neighboring sections.")
 Pandoc, the document-conversion tool.")
     (license license:bsd-3)))
 
+(define-public emacs-ccls
+  (let ((commit "2764ddd57b03646f0327ea680a954b4a67450aef")
+        (version "0.1")
+        (revision "1"))
+    (package
+      (name "emacs-ccls")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/MaskRay/emacs-ccls")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "16427jvzhjy8kpvlgl3qzkzppv98124hkgi8q8pv1h7m46k9lhh3"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-projectile" ,emacs-projectile)
+         ("emacs-lsp-mode" ,emacs-lsp-mode)))
+      (home-page "https://github.com/MaskRay/emacs-ccls")
+      (synopsis "Emacs support for the @code{ccls} language server")
+      (description "This package extends @code{lsp-mode} to work with @code{C}
+and @code{C++} files through the @code{ccls} language server.")
+      (license license:bsd-3))))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.22.0