From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cOniE+jBcWLQdQEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 01:59:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CFIFFOjBcWIEbAAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 01:59:36 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 04CF637A28 for ; Wed, 4 May 2022 01:59:35 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A55E45F72E; Tue, 3 May 2022 23:59:31 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mail.notmuchmail.org (Postfix) with ESMTPS id 3F4DC5F720 for ; Tue, 3 May 2022 23:59:29 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AFF135C01B4; Tue, 3 May 2022 19:59:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 03 May 2022 19:59:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc: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=1651622367; x=1651708767; bh=9nMACEzrH3 w5AlDOVVcyYYhINoTWQv1NJEFHI8AQSU8=; b=msIwB2ZGTmkxYv24XZbHsaK+gk JDwRGhwscKhN4F0xYUU9gjxiZZYprx3sJNs8i1N+8zlO4ZiSvYP+lEEy+SsJRo0W tfP1P+7OpabYw5VZVnrp8xtoXKsUCYzOM4avR3hDPyta5KzZUVMC2IV4FXCF0AZ2 ZhfKJQdiXW/C87y/tErk847z6yPLy35TFPI3iYG/ZBMoQhw3z1fxR0YptrHbTx9X 5MtomBQzz2Cur1KUjXPYE9CdXlX77UyYKF4g6XoeqXC7+IZsKOB1e5xkSeaH3aHF 7Zi6LXyzzmpb/ldNsPXsg8mXQTC0emObboMl05brcmcR6/ayxvs5dvdVMPDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date: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=1651622367; x= 1651708767; bh=9nMACEzrH3w5AlDOVVcyYYhINoTWQv1NJEFHI8AQSU8=; b=s EZu/MTAYTOmWOZZKGSSebVKwo1qVy2JplVA0M9b3eftdMQq+8+lWPc5TImvaSqPL jTXQDywhxMuGzzkuj7FDaGDLAcyj6zBypbi5iNUeSH0/4rngeWxDCbT4N4e7BY9i 1WZuYFdkzHr3bUi3U13NydKtEw8py+HdisOqZtU83sXtixdSpVpKdHOfiY4PEoZt 7z/ckK5zMsCdygm/iZCN2C9xxOMCmtcV1Rw82vc/giZBwHbwvA9mwNBl52YxbH5z 8Aqs9zM9pM4GeVX1268Xb4Lv2CTVcc5y7bg7raw2jy3Re9Zj2p+iF6ed69qSr8tz JOe2vHCfgqoLvPt2OGJHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdekgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesthdttddttdertdenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpeelgeeggfdvieejvdfhudfggeetgfekkeeuieeljeejhedugeeg feetgefhueffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 May 2022 19:59:27 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 9F7EE7E5AE7; Tue, 3 May 2022 16:59:26 -0700 (MST) From: Sean Whitton To: David Bremner , notmuch@notmuchmail.org Subject: Re: Forcing a sync of maildir flags? In-Reply-To: <87zgjy4xto.fsf@tethera.net> References: <871rqp97o0.fsf@iris.silentflame.com> <87r1ypsb1p.fsf@tethera.net> <87r1yp6joi.fsf@iris.silentflame.com> <87mu9cg5xy.fsf@tethera.net> <87d0a7zpfd.fsf@iris.silentflame.com> <87ee1c7s7s.fsf@tethera.net> <87wnf334d9.fsf@melete.silentflame.com> <87zgjy4xto.fsf@tethera.net> User-Agent: Notmuch/0.35 Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Tue, 03 May 2022 16:59:26 -0700 Message-ID: <87k0b2182p.fsf@melete.silentflame.com> MIME-Version: 1.0 Message-ID-Hash: RUTYHGF7ONBT7BQE3JOANMISVYX4E7Q3 X-Message-ID-Hash: RUTYHGF7ONBT7BQE3JOANMISVYX4E7Q3 X-MailFrom: spwhitton@spwhitton.name X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651622376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rXdC02/ZiSJyx9Fi6PpdfikqcREeGfBNsUwvI1+a0nM=; b=Nyfj40mUYAJjkcezfdVJw0eOLRd3iEYqpBosR6dWwEROJzcyudZIziJDkcXZbo7GQ4WWP3 pTbGCxPRrHGhmpLm1IdBjEgUgmc9RBZCqO79YuYuUujQeIaC4Tl77ZVYCiiqmrBgdYtdhI 3aTFE9YZXBLkwp89PvildnLqQ61WkW+xuFanUBHOHUhao1wNKtTLzYf/qc0dHpwtFsNUaz b/rjmAedMaGvqHkaCEChZHv8A/ijvuZvGwxdB4uuYVZGeXL+HchRDV66m55nYJYYIv6CiA LA+ykne3W+c9Vd/z+IedMQTu/og1MOFcvINHRaNgciQci5FFZPWa2M44ELcP3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651622376; a=rsa-sha256; cv=none; b=nd5ZF0xPslA5EuTuE8GhF6NLJLdq+l68LttrhDqg/2+DwvN6K7NEQW/s7BL/W0VDO4azYA Vf4cjty6J78mzcQUfvCP24rEH+dR+4xA2JaiYJLktlJiBpfE1+0OeMdynBw1e8RZop82mX mUgMm87FjNampECsZIrwtoYlvbf4l+boj483Zy8xbHzH/Vj41MbaaPaykMUWMGCi1aVkhQ /r186CITyaQhmWJCqLsc2o6Xpd9pMqQc37aHpZQfpxtBbBKwMJ2lcXp26b9uJ3ntvaymXs cxRO40Mx0T1t/Kfl8QFBBHR8KwxoiF5yt/7F2++p3WDbdB6jc+sMJ6Ikd8R5kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=spwhitton.name header.s=fm3 header.b=msIwB2ZG; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm1 header.b="s EZu/MT"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 2.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=spwhitton.name header.s=fm3 header.b=msIwB2ZG; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm1 header.b="s EZu/MT"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 04CF637A28 X-Spam-Score: 2.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: DW8eOm88YKv3 Hello, On Tue 03 May 2022 at 09:14AM -03, David Bremner wrote: > I have the same intuition. Unfortunately it is not as simple as adding > in a couple calls to this function. The complications I am aware of so > far are > > 1) We need to distinguish between when a newly discovered file should > update tags, and when the newly discovered file should have it's flags > updated. > > 2) Renaming files in the middle of notmuch new needs to be done > carefully in order that notmuch doesn't lose track of the files. They > are only lost until the next run of notmuch-new, but it's not ideal. Okay, thanks for the info. Nice to have it all recorded in this thread. -- Sean Whitton