all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: 58058@debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot@posteo.net>
Subject: [bug#58058] [PATCH 1/1] gnu: Add emacs-ol-notmuch.
Date: Sun, 25 Sep 2022 01:50:13 +0000	[thread overview]
Message-ID: <20220925015013.642511-1-plattfot@posteo.net> (raw)
In-Reply-To: <20220925014702.642220-1-plattfot@posteo.net>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0e3e0be3b8..1e30079e56 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7009,6 +7009,45 @@ (define-public emacs-ob-async
 src blocks.")
     (license license:gpl3+)))
 
+(define-public emacs-ol-notmuch
+  (let ((commit "1a53d6c707514784cabf33d865b577bf77f45913")
+        (revision "0"))
+    (package
+     (name "emacs-ol-notmuch")
+     (version (git-version "2.0.0" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.sr.ht/~tarsius/ol-notmuch")
+             (commit commit)))
+       (sha256
+        (base32
+         "16p7j51z8r047alwn2hkb6944f7ds29ckb97b4k8ia00vwch0d67"))
+       (file-name (git-file-name name version))))
+     (build-system emacs-build-system)
+     (propagated-inputs
+      (list
+       emacs-compat
+       emacs-notmuch
+       emacs-org))
+     (home-page "https://git.sr.ht/~tarsius/ol-notmuch")
+     (synopsis "Links to notmuch messages for Emacs' Org mode")
+     (description
+      "This package implements links to notmuch messages and \"searches\" for
+Emacs' Org mode. A search is a query to be performed by notmuch; it is the
+equivalent to folders in other mail clients. Similarly, mails are referred to
+by a query, so both a link can refer to several mails.
+
+Links have one the following forms - notmuch:<search terms> -
+notmuch-search:<search terms>.
+
+The first form open the queries in `notmuch-show-mode', whereas the
+second link open it in `notmuch-search-mode'. Note that queries are
+performed at the time the link is opened, and the result may be
+different from when the link was stored.")
+     (license license:gpl3+))))
+
 (define-public emacs-debbugs
   (package
     (name "emacs-debbugs")
-- 
2.37.3





  reply	other threads:[~2022-09-25  1:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-25  1:47 [bug#58058] [PATCH 0/1] Add emacs-ol-notmuch Fredrik Salomonsson
2022-09-25  1:50 ` Fredrik Salomonsson [this message]
2022-09-25 13:23   ` bug#58058: [PATCH 1/1] gnu: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220925015013.642511-1-plattfot@posteo.net \
    --to=plattfot@posteo.net \
    --cc=58058@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.