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 E63A41F4B4 for ; Fri, 16 Apr 2021 23:10:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] lei saved search usability improvements Date: Fri, 16 Apr 2021 16:10:26 -0700 Message-Id: <20210416231035.31807-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Found a few bugfixes along the way, but after thinking it over, I think "lei up /path/to/maildir/or/mbox/or/IMAP-URI" makes the most sense. Eric Wong (9): lei q: --save preserves relative time queries lei: expose share_path as a method lei: saved searches keyed only by path/URL and format lei_to_mail: cast to URIimap object early test_common: handle '-C' (chdir) spawn option properly lei: fix rel2abs lei up: support output destination as arg lei q --save: avoid lei.q.format lei q --save: clobber config file on repeats lib/PublicInbox/Config.pm | 9 ++++ lib/PublicInbox/LEI.pm | 19 +++++---- lib/PublicInbox/LeiQuery.pm | 2 +- lib/PublicInbox/LeiSavedSearch.pm | 71 ++++++++++++++++++++++++------- lib/PublicInbox/LeiToMail.pm | 12 +++--- lib/PublicInbox/LeiUp.pm | 5 +-- lib/PublicInbox/Reply.pm | 10 +---- lib/PublicInbox/TestCommon.pm | 7 +++ t/lei-q-save.t | 36 ++++++++++++++-- 9 files changed, 126 insertions(+), 45 deletions(-)