From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D31751F9E5 for ; Wed, 31 Mar 2021 00:41:09 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] doc: lei-overview: favor Maildir for mutt examples Date: Wed, 31 Mar 2021 00:41:09 +0000 Message-Id: <20210331004109.32610-3-e@80x24.org> In-Reply-To: <20210331004109.32610-1-e@80x24.org> References: <20210331004109.32610-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: mboxes are generally horrible for interactive read-write use due to locking. Describe our parallel behavior with mutt, since writing mail can take a long while and being able to read results as they're written is nice. We'll also use a gzipped mboxrd for the import example, since we can decompress gzipped mboxrds automatically, now. --- Documentation/lei-overview.pod | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/lei-overview.pod b/Documentation/lei-overview.pod index c1f952c9..70dbf2b5 100644 --- a/Documentation/lei-overview.pod +++ b/Documentation/lei-overview.pod @@ -23,9 +23,9 @@ to memoize messages from remotes. =over -=item $ lei import mboxrd:t.mbox +=item $ lei import mboxrd:t.mbox.gz -Import the messages from an mbox into the local storage. +Import the messages from a gzipped mboxrd into the local storage. =item $ lei blob 59ec517f9 @@ -82,10 +82,11 @@ Search for messages whose subject includes "lei" and "skeleton". Do the same, but also report unmatched messages that are in the same thread as a matched message. -=item $ lei q -t -o mboxcl2:t.mbox --mua=mutt s:lei s:skeleton +=item $ lei q -t -o mdir --mua=mutt s:lei s:skeleton -Write mboxcl2-formatted results to t.mbox and enter mutt to view the -file by invoking C. +Write results to a Maildir at "mdir". Mutt will be invoked +to open mfolder (C) while results are being fetched +and written. =item $ lei q kw:flagged L:next