* [bug#45810] [PATCH] gnu: Add emacs-marginalia.
@ 2021-01-12 3:58 Brit Butler via Guix-patches via
2021-01-12 8:50 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Brit Butler via Guix-patches via @ 2021-01-12 3:58 UTC (permalink / raw)
To: 45810
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#45810] [PATCH] gnu: Add emacs-marginalia.
2021-01-12 3:58 [bug#45810] [PATCH] gnu: Add emacs-marginalia Brit Butler via Guix-patches via
@ 2021-01-12 8:50 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-01-12 8:50 UTC (permalink / raw)
To: 45810; +Cc: 45810-done, Brit Butler
Hello,
Brit Butler via Guix-patches via <guix-patches@gnu.org> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-12 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 3:58 [bug#45810] [PATCH] gnu: Add emacs-marginalia Brit Butler via Guix-patches via
2021-01-12 8:50 ` Nicolas Goaziou
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).