From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Cc: Ricardo Wurmus <rekado@elephly.net>, Kyle Meyer <kyle@kyleam.com>
Subject: Mumi, public-inbox and tools
Date: Mon, 02 May 2022 20:10:14 +0200 [thread overview]
Message-ID: <87bkwf956h.fsf@gmail.com> (raw)
Hi,
Recently, we discussed [1] in «public-inbox/elfeed -> Maildir bridge
(was: Incentives for review)» some tips to ease the workflow dealing
with the various lists and their volume.
Kyle wrote some Emacs glue around public-inbox, named piem [2].
One cool feature exposed by Kyle in [1] is being able to inject the
complete thread to a Maildir.
For instead, let configure piem with just:
--8<---------------cut here---------------start------------->8---
(setq
piem-inboxes '(("guix-bugs"
:url "https://yhetil.org/guix-bugs/"
:maildir "/tmp/mail/guix-bugs"
)
("guix-patches"
:url "https://yhetil.org/guix-patches/"
:maildir "/tmp/mail/guix-patches"
)))
(add-hook 'eww-mode-hook #'piem-eww-mode)
--8<---------------cut here---------------end--------------->8---
then, let create the maildirs:
mkdir -p /tmp/mail/guix-{bugs,patches}/{new,cur,tmp}
Last, just search for a number id:
M-x eww
https://yhetil.org/guix-patches/?q=a:39258
then click to one, and
M-x piem-inject-thread-into-maildir
paf! The 126 messages of the patch submission #39258 are now in my
local maildir and I can read them using my favorite mail reader; say
Emacs-notmuch. ;-)
It completely replace my usage of the Debian scripts ’bts’ and
’mailscripts’. Neat! Because it was Perl… :-)
The issue is that it is going via a public-inbox query [4]:
a: match within the To, Cc, and From headers
where it could be nice to directly use Mumi with:
M-x eww
http://issues.guix.gnu.org/issue/39258
However, then ’piem-inject-thread-into-maildir’ cannot find the
Message-ID even if many are visible:
--8<---------------cut here---------------start------------->8---
Arun Isaac wrote on 23 Jan 2020 20:51
SVG Image
Recipients:(address . guix-patches@gnu.org)
Message-ID:cu7pnfaar36.fsf@systemreboot.net
--8<---------------cut here---------------end--------------->8---
Well, it could be nice if I could hook and directly import to my local
maildir the thread.
WDYT? What is missing to bridge the current features of Mumi via
issues.guix.gnu.org, of public-inbox via yhetil.org/guix and the piem
glue?
It could be nice to:
1. run “guix issues 12345” and get back something ready (as mbox or
maildir) to go to a mail reader, or pipe to Git maybe.
2. integrate such to Emacs-Guix.
1: <https://yhetil.org/guix-devel/87a6izsoio.fsf@kyleam.com/>
2: <https://git.kyleam.com/piem/>
3: <https://docs.kyleam.com/piem/Injecting-messages-into-a-Maildir-directory.html>
4: <https://yhetil.org/guix-bugs/_/text/help/>
Cheers,
simon
next reply other threads:[~2022-05-02 19:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-02 18:10 zimoun [this message]
2022-05-03 17:50 ` Mumi, public-inbox and tools Arun Isaac
2022-05-04 8:53 ` zimoun
2022-05-07 22:52 ` Ludovic Courtès
2022-05-08 6:13 ` Arun Isaac
2022-05-08 20:59 ` zimoun
2022-05-08 21:07 ` Ricardo Wurmus
2022-05-15 21:08 ` Ludovic Courtès
2022-05-08 20:29 ` zimoun
2022-05-09 16:56 ` Maxime Devos
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=87bkwf956h.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=kyle@kyleam.com \
--cc=rekado@elephly.net \
/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.