GNU bug report logs -
#49457
[PATCH] gnu: Add emacs-consult-notmuch.
Previous Next
Reported by: Andrew Tropin <andrew <at> trop.in>
Date: Wed, 7 Jul 2021 14:00:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 08 Jul 2021 09:40:13 +0200
with message-id <87czrtqmn6.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#49457] [PATCH v2] gnu: Add emacs-consult-notmuch.
has caused the debbugs.gnu.org bug report #49457,
regarding [PATCH] gnu: Add emacs-consult-notmuch.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
49457: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49457
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[0001-gnu-Add-emacs-consult-notmuch.patch (text/x-patch, inline)]
From eba48a1058bc4ae7486e74ac30cf851a78ce7272 Mon Sep 17 00:00:00 2001
From: Andrew Tropin <andrew <at> trop.in>
Date: Wed, 7 Jul 2021 16:55:41 +0300
Subject: [PATCH] gnu: Add emacs-consult-notmuch.
* gnu/packages/emacs-xyz.scm (emacs-consult-notmuch): New variable.
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9591a4e6e7..788a25a8e8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8084,6 +8084,36 @@ Emacs completion function completing-read, which allows quickly selecting from a
list of candidates.")
(license license:gpl3+)))
+(define-public emacs-consult-notmuch
+ (package
+ (name "emacs-consult-notmuch")
+ (version "0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/jao/consult-notmuch.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19flyh3v1xm2zswzjkvjbijvpbq5r8isafza4fd0yicvqbjyklhx"))))
+ (build-system emacs-build-system)
+ (inputs
+ `(("emacs-consult" ,emacs-consult)
+ ("notmuch" ,notmuch)))
+ (license license:gpl3+)
+ (home-page "https://codeberg.org/jao/consult-notmuch")
+ (synopsis "Search and preview notmuch emails using consult")
+ (description "\
+This package provides two commands using consult to query notmuch
+emails and present results either as single emails @code{consult-notmuch}
+or full trees @code{consult-notmuch-tree}.
+
+The package also defines a narrowing source for @code{consult-buffer}, which
+can be activated with @code{(add-to-list 'consult-buffer-sources
+'consult-notmuch-buffer-source)}.")))
+
(define-public emacs-marginalia
(package
(name "emacs-marginalia")
--
2.32.0
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
Hello,
Andrew Tropin <andrew <at> trop.in> writes:
> v2 uses propagated-inputs instead of inputs, because using
> consult-notmuch without consult and notmuch doesn't make much sense.
I applied this patch with the following changes:
> + (uri (git-reference
> + (url "https://codeberg.org/jao/consult-notmuch.git")
I removed the ".git" suffix.
> + (license license:gpl3+)
> + (home-page "https://codeberg.org/jao/consult-notmuch")
> + (synopsis "Search and preview notmuch emails using consult")
I properly capitalized synopsis (Notmuch, Consult).
> + (description "\
> +This package provides two commands using consult to query notmuch
> +emails and present results either as single emails @code{consult-notmuch}
> +or full trees @code{consult-notmuch-tree}.
> +
> +The package also defines a narrowing source for @code{consult-buffer}, which
> +can be activated with @code{(add-to-list 'consult-buffer-sources
> +'consult-notmuch-buffer-source)}.")))
I shortened the description as it looked like an introduction part of
the manual instead.
I also reordered licence, home-page, synopsis and description parts.
Thank you!
Regards,
--
Nicolas Goaziou
This bug report was last modified 4 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.