Nice to see lei getting discussed.

Paul Bryan writes:

> A little while ago I looked at cloning the public-inbox, but then
> wasn't sure how to dump it into a Maildir so I could access it via
> mu4e.

You can tell `lei q' to dump its results as a Maildir.

Before getting to `lei q', let me include the setup steps.  You can do
the initial clone and index of the Org inbox with

  $ mkdir -p ~/inboxes
  $ lei add-external --mirror https://list.orgmode.org/ ~/inboxes/orgmode

(Replace ~/inboxes with whatever location you prefer.)

>From that point forward, you can pull in new messages and refresh the
index with

  $ make -C inboxes/orgmode update

Pass `-o/--output DIR` to `lei q' to dump to a Maildir:

  $ lei q -o path/to/org-patch-msgs -t d:5.days.ago.. s:PATCH

Note that by default lei clobbers existing content in the directory.
I'd recommend using a dedicated Maildir for lei, but, if you're going to
use an existing one, be sure to pass --augment.

Also, fwiw, there's some related discussion in this message about
searching emacs-devel:
https://yhetil.org/emacs-devel/[email protected]

Reply via email to