Authentication-Results: mail-b.sr.ht; dkim=pass header.d=timculverhouse.com header.i=@timculverhouse.com; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mail-b.sr.ht (Postfix) with ESMTPS id 9145111F0A4 for <~rjarry/aerc-devel@lists.sr.ht>; Sat, 20 Aug 2022 19:02:33 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 588DE5C0032; Sat, 20 Aug 2022 15:02:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 20 Aug 2022 15:02:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= timculverhouse.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm3; t=1661022153; x=1661108553; bh=T1BpCPHCSe6iPmvBCFXS18NPI +i6LSdxqV33irvMrY4=; b=hFfcYRZMurmbY9B6pfagljcLkHi+aMPNpGMEPn7br zrB58NmGJtWIyXZxj66Qw94LtbxDVYteCzj01LrVGVroPKSUT4g062TuXJMtiISL PWu2LYV3odKNrS/TvoqJ1nKyC1CdM19dPJyXx6dwz2OKMKDH+aHXAoHG2z+Gh4K0 o5C7wJbTNtA9fVj6gp4jUEnB01eGmzHlz/pgI1eHPZCoJ4221lTzdWTQZPqtW/7m hquOVYu8ZfvTcfwxBcKhATkSyRKfS0Iea1N4U2rltCxu7yuKNeITw9nsMX2hmhh4 gLZkXPEHAzBj9pNuJvpPZ9TVe2JrXANFUZtT3snbzwGcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1661022153; x=1661108553; bh=T 1BpCPHCSe6iPmvBCFXS18NPI+i6LSdxqV33irvMrY4=; b=y6GB5oFPpM4/vUIyN tzv2hpS1cgLfxqTbN5AoSSJOmGuDx+uUdkD6I/MFUhAxAY3z5za3d+RQMHUR66qG GjxNf1zgsuSRNZMrlljrb5dOuMaFPmHtqpkT3mDJFpHCP2miAd8EL1if3hLoTWZB kW2SiNjvWP8KiqZwN4Xx+fjeyjJe5Fi4/MJzx5dFmzX0FdYYxkAYiLmAe9doRZab 3lCLJG70vTwvad5VNY0TDZ5CeY94Sb9/AB+ym1QU+0Y/CN8X6qGNZCuRioBAVUmJ Shv5NPrzWRQKQDYajUFMwaEoiLdFyZHd5sdGY6UbUSgJ63NDPQRWsy+4Y56Slauw Zvg9g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeifedgudefhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegggfgtfffkuffhvffofhgjsehtqhertdertdejnecuhfhrohhmpedfvfhi mhcuvehulhhvvghrhhhouhhsvgdfuceothhimhesthhimhgtuhhlvhgvrhhhohhushgvrd gtohhmqeenucggtffrrghtthgvrhhnpeejgeduveefgedtgeejheekhfejgfefteefkeel geefgeeggfegfeekhedvgeegtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehtihhmsehtihhmtghulhhvvghrhhhouhhsvgdrtghomh X-ME-Proxy: Feedback-ID: i3ad947a1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 20 Aug 2022 15:02:32 -0400 (EDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 20 Aug 2022 14:02:30 -0500 Message-Id: Subject: Re: [PATCH aerc] Use IMAP PEEK and allow not marking messages read. From: "Tim Culverhouse" To: "Moritz Poldrack" , "James Cook" , <~rjarry/aerc-devel@lists.sr.ht> X-Mailer: aerc 0.10.0-179-g8a6cca3c03ee References: <20220820002218.43914-1-falsifian@falsifian.org> In-Reply-To: On Sat Aug 20, 2022 at 1:44 PM CDT, Moritz Poldrack wrote: > > I like this plan, except I wonder if #1 and #2 should be done in the > > same patch. > I don't think that merging them makes a lot of sense=E2=80=A6 I think the= ir > topics are different enough to warrant multiple commits. I think it makes sense to combine...Not combining breaks between commits, while combining implements the fix. 1. Move store.Flag to workers, and make it so that everything that *shouldn't* mark as read, does so. Behavior the same for maildir/notmuch/mbox, and a fix for imap. 2. Add config option to leave message unread when opening. Works the same for all backends.