Subject: bug#45810: closed (Re: [bug#45810] [PATCH] gnu: Add emacs-marginalia.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 12 Jan 2021 08:51:02 +0000

Your bug report

#45810: [PATCH] gnu: Add emacs-marginalia.

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

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

Subject: Re: [bug#45810] [PATCH] gnu: Add emacs-marginalia.
From: Nicolas Goaziou <[email-masked]>
To: Brit Butler via Guix-patches via <[email-masked]>
Cc: [email-masked], Brit Butler <[email-masked]>
Date: Tue, 12 Jan 2021 09:50:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Brit Butler via Guix-patches via <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-marginalia): New variable.

Applied, with the change below.

> +      (description "This package provides marginalia-mode which adds marginalia
> +to the minibuffer completions. Marginalia are marks or annotations placed at the

I added a second space after full stop above.

Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-marginalia.
From: Brit Butler <[email-masked]>
To: [email-masked]
Date: Tue, 12 Jan 2021 03:58:13 GMT
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1defa61294..95bc87c18d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7011,6 +7011,32 @@ Emacs completion function completing-read, which allows to quickly select from a
 list of candidates.")
       (license license:gpl3+))))
 
+(define-public emacs-marginalia
+  ;; There are no tagged releases upstream on GitHub, instead we are using the
+  ;; most recent commit.
+  (let ((commit "401993562dbf636054dd64988e44d19b5030867f")
+        (revision "0"))
+    (package
+      (name "emacs-marginalia")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/minad/marginalia")
+               (commit commit)))
+         (sha256
+          (base32 "1j0k9ija5paidj7yvbagkkayz9bjwhia9yhmd2q4490ginbbxshs"))
+         (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/minad/marginalia")
+      (synopsis "Marginalia in the minibuffer")
+      (description "This package provides marginalia-mode which adds marginalia
+to the minibuffer completions. Marginalia are marks or annotations placed at the
+margin of the page of a book or in this case helpful colorful annotations placed
+at the margin of the minibuffer for your completion candidates.")
+      (license license:gpl3+))))
+
 (define-public emacs-smartparens
   (package
     (name "emacs-smartparens")
-- 
2.30.0