From 3702b79a2d469f9ba8fa7e4d18502f6b2fba50e3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 31 Oct 2021 09:10:16 +0000 Subject: [PATCH] doc: add lei-mail-sync-overview manpage Mostly illustrating how clunky the process is :p We'll also tweak some things in existing man pages around mail synchronization. --- Documentation/lei-export-kw.pod | 3 ++ Documentation/lei-forget-mail-sync.pod | 5 ++- Documentation/lei-import.pod | 34 ++++++++++++--- Documentation/lei-index.pod | 5 ++- Documentation/lei-ls-label.pod | 1 + Documentation/lei-ls-mail-source.pod | 5 ++- Documentation/lei-ls-watch.pod | 3 +- Documentation/lei-mail-formats.pod | 5 ++- Documentation/lei-mail-sync-overview.pod | 53 ++++++++++++++++++++++++ Documentation/lei-overview.pod | 13 +++++- Documentation/lei-tag.pod | 21 +++++++++- Documentation/lei.pod | 4 +- MANIFEST | 1 + Makefile.PL | 4 +- 14 files changed, 137 insertions(+), 20 deletions(-) create mode 100644 Documentation/lei-mail-sync-overview.pod diff --git a/Documentation/lei-export-kw.pod b/Documentation/lei-export-kw.pod index cf482ca0..4cb673ac 100644 --- a/Documentation/lei-export-kw.pod +++ 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). It does not delete, write, nor modify messages themselves; it only sets metadata on Maildirs and IMAP folders. diff --git a/Documentation/lei-forget-mail-sync.pod b/Documentation/lei-forget-mail-sync.pod index e70b4d33..29ff5671 100644 --- a/Documentation/lei-forget-mail-sync.pod +++ b/Documentation/lei-forget-mail-sync.pod @@ -9,8 +9,9 @@ lei forget-mail-sync [OPTIONS] LOCATION [LOCATION...] =head1 DESCRIPTION Forget synchronization information for C, an IMAP or Maildir -folder. Note that this won't delete any messages stored in Git, -leaving C users with dangling references. +folder. Note that this won't delete any messages on the filesystem. +Users using L without L will be left +with dangling references in search results. =head1 CONTACT diff --git a/Documentation/lei-import.pod b/Documentation/lei-import.pod index 9322dfa8..25f1daf5 100644 --- a/Documentation/lei-import.pod +++ b/Documentation/lei-import.pod @@ -4,7 +4,7 @@ lei-import - one-time import of messages into local store =head1 SYNOPSIS -lei import [OPTIONS] LOCATION [LOCATION...] +lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL] lei import [OPTIONS] (--stdin|-) @@ -16,8 +16,8 @@ source of messages: a directory (Maildir), a file, or a URL authentication use L to fill in the username and password. -For a regular file, the location must have a CformatE:> -prefix specifying one of the following formats: C, C, +For a regular file, the C must have a CformatE:> +prefix specifying one of the following formats: C, C, C, or C. =head1 OPTIONS @@ -42,6 +42,29 @@ C. Default: fcntl,dotlock +=item +L:LABEL + +Add the given C