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-ASN: 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 BF40B1F953; Sun, 31 Oct 2021 17:30:37 +0000 (UTC) Date: Sun, 31 Oct 2021 17:30:36 +0000 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: Re: [PATCH 1/2] doc: add lei-mail-sync-overview manpage Message-ID: <20211031173036.M679805@dcvr> References: <20211031091017.11274-1-e@80x24.org> <20211031091017.11274-2-e@80x24.org> <878ry917ev.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <878ry917ev.fsf@kyleam.com> List-Id: Kyle Meyer wrote: > Eric Wong writes: > > +++ b/Documentation/lei-export-kw.pod > > @@ -12,6 +12,9 @@ lei export-kw MFOLDER [MFOLDER...] > > > > C propagates keywords (e.g. C, C, > > C, etc.) from lei/store to IMAP folders and/or Maildirs. > > +It only works for messages lei knows about (e.g. was used as a > > +C, or imported via L, or indexed > > +via L. > > The closing paren is missing here. Yup. > > +++ b/Documentation/lei-index.pod > > @@ -20,6 +20,9 @@ Combined with L, C allows Maildir users to > > have similar functionality to L by not duplicating > > messages into C. > > > > +Occasional invocations of C > > +is recommended to keep indexed messages retrievable. > > "Occasional invocations ... is" -> "Occasional invocations ... are"? > > Or perhaps "Occasionally invoking ... is" I think I'll go with "are" > > +=head1 TYPICAL WORKFLOW > > + > > + # import mail from a user's IMAP inbox and give it the "inbox" label: > > + lei import +L:inbox imaps://user@example.com/INBOX > > + > > + # dump "inbox" labeled files from the past week to a Maildir > > + lei q L:inbox rt:last.week.. -o /tmp/results > > + > > + # open /tmp/results in your favorite mail agent. If inotify or kevent > > + # works, keyword changes (e.g. marking messages as `seen'). > > Is this part incomplete (maybe "are synchronized" is missing at the > end)? Yes, "are synchronized automatically". Will squash the following in, thanks: diff --git a/Documentation/lei-export-kw.pod b/Documentation/lei-export-kw.pod index b6d175f1..4cb673ac 100644 --- a/Documentation/lei-export-kw.pod +++ b/Documentation/lei-export-kw.pod @@ -14,7 +14,7 @@ C propagates keywords (e.g. C, C, C, etc.) from lei/store to IMAP folders and/or Maildirs. It only works for messages lei knows about (e.g. was used as a C, or imported via L, or indexed -via L. +via L). It does not delete, write, nor modify messages themselves; it only sets metadata on Maildirs and IMAP folders. diff --git a/Documentation/lei-index.pod b/Documentation/lei-index.pod index de088538..f8ff6950 100644 --- a/Documentation/lei-index.pod +++ b/Documentation/lei-index.pod @@ -21,7 +21,7 @@ have similar functionality to L by not duplicating messages into C. Occasional invocations of C -is recommended to keep indexed messages retrievable. +are recommended to keep indexed messages retrievable. =head1 OPTIONS diff --git a/Documentation/lei-mail-sync-overview.pod b/Documentation/lei-mail-sync-overview.pod index dfe1034c..e30674bb 100644 --- a/Documentation/lei-mail-sync-overview.pod +++ b/Documentation/lei-mail-sync-overview.pod @@ -21,7 +21,8 @@ Future work will be done to improve it and add IMAP IDLE support. lei q L:inbox rt:last.week.. -o /tmp/results # open /tmp/results in your favorite mail agent. If inotify or kevent - # works, keyword changes (e.g. marking messages as `seen'). + # works, keyword changes (e.g. marking messages as `seen') are + # synchronized automatically. # If the inotify queue overflows, or if lei-daemon crashes, # "lei index" will tell lei about keyword changes: