unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49457] [PATCH] gnu: Add emacs-consult-notmuch.
@ 2021-07-07 13:59 Andrew Tropin
  2021-07-07 14:12 ` [bug#49457] [PATCH v2] " Andrew Tropin
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Tropin @ 2021-07-07 13:59 UTC (permalink / raw)
  To: 49457


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Add emacs-consult-notmuch --]
[-- Type: text/x-patch, Size: 1952 bytes --]

From eba48a1058bc4ae7486e74ac30cf851a78ce7272 Mon Sep 17 00:00:00 2001
From: Andrew Tropin <andrew@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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-07-09  0:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 13:59 [bug#49457] [PATCH] gnu: Add emacs-consult-notmuch Andrew Tropin
2021-07-07 14:12 ` [bug#49457] [PATCH v2] " Andrew Tropin
2021-07-07 14:18   ` Nicolas Goaziou
2021-07-07 14:33     ` Andrew Tropin
2021-07-08  7:41       ` Nicolas Goaziou
2021-07-08  9:13         ` zimoun
2021-07-08  9:41           ` Nicolas Goaziou
2021-07-08 11:28             ` Kyle Meyer
2021-07-08 11:38               ` Nicolas Goaziou
2021-07-09  0:13                 ` Kyle Meyer
2021-07-08 10:14           ` Andrew Tropin
2021-07-08  7:40   ` bug#49457: " Nicolas Goaziou
2021-07-08 10:22     ` [bug#49457] " Andrew Tropin
2021-07-08 10:32       ` 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).