[PATCH 0/1] Add emacs-ol-notmuch

  • Done
  • quality assurance status badge
Details
2 participants
  • Nicolas Goaziou
  • Fredrik Salomonsson
Owner
unassigned
Submitted by
Fredrik Salomonsson
Severity
normal
F
F
Fredrik Salomonsson wrote on 25 Sep 2022 03:47
(address . guix-patches@gnu.org)(name . Fredrik Salomonsson)(address . plattfot@posteo.net)
20220925014702.642220-1-plattfot@posteo.net
Add emacs-ol-notmuch, it was in org contrib but was recently removed.

Fredrik Salomonsson (1):
gnu: Add emacs-ol-notmuch.

gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)


base-commit: fc07082fe3d750c85282c4aa57d01a36ebe9296b
--
2.37.3
F
F
Fredrik Salomonsson wrote on 25 Sep 2022 03:50
[PATCH 1/1] gnu: Add emacs-ol-notmuch.
(address . 58058@debbugs.gnu.org)(name . Fredrik Salomonsson)(address . plattfot@posteo.net)
20220925015013.642511-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(+)

Toggle diff (52 lines)
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
N
N
Nicolas Goaziou wrote on 25 Sep 2022 15:23
(name . Fredrik Salomonsson)(address . plattfot@posteo.net)(address . 58058-done@debbugs.gnu.org)
87h70vtwof.fsf@nicolasgoaziou.fr
Hello,

Fredrik Salomonsson <plattfot@posteo.net> writes:

Toggle quote (2 lines)
> * gnu/packages/emacs-xyz.scm (emacs-ol-notmuch): New variable.

Applied. Thank you.

Toggle quote (14 lines)
> + (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.")

I removed the two last paragraphs, which belong to the documentation
rather than a description. I also separated sentences with two spaces,
as requested by Texinfo markup.

Regards,
--
Nicolas Goaziou
Closed
?