From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id TYNjM8UM9mArbgEAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 01:37:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KKkjLsUM9mCwcgAA1q6Kng (envelope-from ) for ; Mon, 19 Jul 2021 23:37:41 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 86C2023A71 for ; Tue, 20 Jul 2021 01:37:41 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D4AB52907F; Mon, 19 Jul 2021 19:37:36 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id EA3851FFD8 for ; Mon, 19 Jul 2021 19:37:33 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id A92FE5FD21; Mon, 19 Jul 2021 19:37:33 -0400 (EDT) Received: (nullmailer pid 338243 invoked by uid 1000); Mon, 19 Jul 2021 23:37:32 -0000 From: David Bremner To: Jonas Bernoulli , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: notmuch-tree: mark the initial message at point as read In-Reply-To: <87a6mi5zhg.fsf@bernoul.li> References: <20210216000138.19625-1-jonas@bernoul.li> <87im6euzwh.fsf@bernoul.li> <87ft1iuzeh.fsf@bernoul.li> <87tumcimhy.fsf@tethera.net> <87a6mi5zhg.fsf@bernoul.li> Date: Mon, 19 Jul 2021 20:37:32 -0300 Message-ID: <87r1ft27ur.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: HAG4XQIIT2CGBCVRG2567QXLJGBRLYLS X-Message-ID-Hash: HAG4XQIIT2CGBCVRG2567QXLJGBRLYLS X-MailFrom: david@tethera.net 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626737861; 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-unsubscribe:list-subscribe:list-post; bh=1wTvn71sSu/9+Iiwv/9Q86J1VPhJhiex0N9dtq6eUXA=; b=QGsiGSICKpR3dpKXUgRdXj8nnpEfiSvYOU755Zg1s997/fnPfLrqhEmVyGwr3KgQu9jJl6 uSclxbgQlSBputQhlpccevuHQIdeKlnhapa9mty1Ypq1s6RMcBmFWr+vVSxaTSIECbT4QV +Z7V20/xiYYxgtggmrIrQ8BDKW29cjbBhbDdxtF0wDG6DS4q37rTR7XwZDugze91eJI17W xs7P011ExzBWK5DMX7HPEkzOIZ5V+AMu4fi8oQ8m01RyvB8ZLG34xCctuH9LvcOntRNmXP 1RgLRnyzSBU8Sa4ksW/w6eU1znGlu/hX/ylxSQvxPupnXTI/rXRuKiqOeC8qiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626737861; a=rsa-sha256; cv=none; b=HzkO0dK9om+/QXofy0SpWJmFVvZZ1XfS2uspkBZbM6FXIFLZghL4ladH4jTZJ89tq/NZS2 Ix3UZKAFESEzSAa1bZ8sZCXg4OeDlKDhbfNCJ2HTWHrpgqSko+s0PdFsuyRA9RSzeKcUj7 SEizRLYle4UxQpf63mgx2COrQWyL/RRlwcS9kuLHG5c9sR9lNe8EeO1Or5fDdMOAgV0zO+ gnKCEj0f8YBkGMY4BbKAcH3MC2Rv01ZOJex+F5Gcb5P66jZ0amPi/NHQGJb14R80lb4n3x RYoxiDSPNvZIV3w5eQnk1LtIJvf9g+8n1fJFQwvDrQ6OZgQYbNwqNOXgW86MUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 86C2023A71 X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: OfJ0r1Aootwt Jonas Bernoulli writes: > > Please merge the proposed fix; IMO it is sound. My follow-up, the reply > to Tomi, seems quite confused though. But just because we are uncertain > whether there is further room for improvement, that shouldn't keep us > from fixing the bug. Maybe in the future we can improve upon this fix > but I probably won't investigate any time soon. > > Jonas Apologies, I should have experimented / asked before. I can't seem to duplicate the problem being fixed here. Is it non-deterministic, or should I expect it to always happen? If the latter, can you give me a further hint / instructions how to reproduce? For me, whether in tree-mode or search-mode, if I hit return the message at point is marked unread. d