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 AF4F91F9FD; Fri, 26 Feb 2021 04:13:26 +0000 (UTC) Date: Fri, 26 Feb 2021 04:13:26 +0000 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: Re: [PATCH 4/4] lei q: -tt marks direct hits as "flagged" Message-ID: <20210226041326.GA12319@dcvr> References: <20210225101106.12505-1-e@80x24.org> <20210225101106.12505-5-e@80x24.org> <87zgzrebx2.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87zgzrebx2.fsf@kyleam.com> List-Id: Kyle Meyer wrote: > Eric Wong writes: > > +TODO: Warning: this flag may become persistent and saved in > > +lei/store unless an MUA unflags it! (Behavior undecided) > > Oy, I understand even less than I thought I did. How does the > information about what the MUA unflags get back into the store? Is > there an implicit additional step (`lei import ...')? lei will watch (via inotify/EVFILT_VNODE) mail stores it knows about for flag updates. At least that's the plan... Also, when overwriting an existing output, I think it would be wise to do an implicit import of any messages that aren't already in lei/store or an external. That would save users from accidentally trashing their data.