From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uKnHElGSOWDLAQAA0tVLHw (envelope-from ) for ; Sat, 27 Feb 2021 00:29:05 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4JHUDlGSOWCQAwAA1q6Kng (envelope-from ) for ; Sat, 27 Feb 2021 00:29:05 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 aspmx2.migadu.com (Postfix) with ESMTPS id 824EABCA0 for ; Sat, 27 Feb 2021 01:29:04 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B1AD726B40; Fri, 26 Feb 2021 19:28:59 -0500 (EST) Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by mail.notmuchmail.org (Postfix) with ESMTPS id 73C8026ACE for ; Fri, 26 Feb 2021 19:28:57 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 83699165C1; Sat, 27 Feb 2021 01:28:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1614385734; bh=gI6n++2XLBXmHkTR50ybHqBY zVPjURqPb0ogkRxDv0c=; b=G/Rabko52/m5tv1+jARLT8ig/AsK9U/Q9k4FWr8D 1caYv36V5LGyYjp/MrOfYLGpo0kgSJlxg5/cKmiG3lpBX3fd8m3zVz3ku97mvJZk cgMQV9v4aJevhOLhMP1s22vTqzUBg3Ufq7cY7BUrFhQ477nMN/UqlWGzV0jFFLDQ La4= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 9Mv-DVYetFYM; Sat, 27 Feb 2021 01:28:54 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 4AE61165BD; Sat, 27 Feb 2021 01:28:54 +0100 (CET) From: Jonas Bernoulli To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: notmuch-tree: mark the initial message at point as read In-Reply-To: <87im6euzwh.fsf@bernoul.li> References: <20210216000138.19625-1-jonas@bernoul.li> <87im6euzwh.fsf@bernoul.li> Date: Sat, 27 Feb 2021 01:28:54 +0100 Message-ID: <87ft1iuzeh.fsf@bernoul.li> MIME-Version: 1.0 Message-ID-Hash: ZM4D7ZGYADBCWY2SMBVSSPXH5WKIUKUN X-Message-ID-Hash: ZM4D7ZGYADBCWY2SMBVSSPXH5WKIUKUN X-MailFrom: jonas@bernoul.li 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=1614385744; 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:dkim-signature; bh=0v9Gg8kKXJm7eVOtK7IEHOqxMLvehkBxLC2BcsOozME=; b=t0pglmoQbOfx4+K4IP0ySROCNnVS+ry8SyJ3VCnqj2w37RIxUYxlCtRZjBvsKEef4L1Rtf e1SWmgudSXSFnrmOVvAvjr0OMgAAXRaMy6dJfpA+RFJ9Q4OO6EWgxDcqcEhQCHBCDIgvVI mp5HGI8/kmdtNzE28qDCy7yKPXpLgfIt1pT/e3NuN383acGK89o/ShuU5xs94CDG3m8/D6 8ZcA5zRopPTtxIDW3g4KB7Q/JFtXWW+4jRfFv+fvPT4lSTFNzKaF5asff14U4286GPVkw2 Ufd5D6eWrYVBXfpmfqWhBqfRFqA6uahADUK7VzjUhIblJkbyB5QYfwD9DsBl4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614385744; a=rsa-sha256; cv=none; b=AJk43zd0c6UX2BfumCLqh+0Q8eKygdyeNwmYP14ipauvHstZN2RiygclHP6fJpygZZQDK8 9oYHCFOePEBr2fb6AwNSfKdKvnUqrT4rtQHXY0yCL7P4X836BAye9LsKgzGDz0KuOV+Jpm S2udeZ6MlINB9s5MKFemOw+VyAz9KxN+rWmJug+Rp5wDUOZAv0jXVPe5CPNFtG3pmZvhDo 3w0smGfIT2UvtzJ1eMxxlAi3tF0x+EMo/nRpRDQsHicgR0yipEgg/ZZBQ1NnB1aRc/G1wv uXj+7+xwVkxGZpBKk/+Kh2Pb/N7AhwsBQ9hT5snprjXABXz1YeqdszKVqb1Kng== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("body hash did not verify") header.d=bernoul.li header.s=sel2011a header.b="G/Rabko5"; dmarc=none; spf=pass (aspmx2.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.95 Authentication-Results: aspmx2.migadu.com; dkim=fail ("body hash did not verify") header.d=bernoul.li header.s=sel2011a header.b="G/Rabko5"; dmarc=none; spf=pass (aspmx2.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 824EABCA0 X-Spam-Score: -0.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: QWvtV/ly/h1J Hm, when no tree buffer is involved, then `notmuch-show-command-hook' probably is required. Anyway, there seems to be some undead code and rethinking all this would be a good idea.