From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4OKkMwuRcGe0aQAAqHPOHw:P1 (envelope-from ) for ; Sun, 29 Dec 2024 00:00:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4OKkMwuRcGe0aQAAqHPOHw (envelope-from ) for ; Sun, 29 Dec 2024 01:00:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=kBMjSUE2; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735430410; 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=P7lvyC0c4XHTTr0wpcy8VzmNYHWZliDQsUcbxEoCY3Y=; b=J3qcUzPlc8FAxRpEi0Y/+UJfYYb3SawAqbw5vdIUZxR+YAD8+Yomt6/00Hmrr8ZRNTAebk gBjPj4zMhHsRblJiJvoa91jxROX6qpzjlgxG3Ffn6QHKcQilTSFjjYdh2jgX2yPypjmyCb gz2ZlnS0+CAZZZxnAUbNh5mK8SSWDNRITqXoGNT55Oqw8KHDPGYbvx2kQmextN3wK5YKe+ jWOblnjZRMzLkv607wkNA0NcxbX9omdYZW+G0+3ZYps9FiAjmAnTqM9ZTLu8uZLw7H9YQK crvYCYabouAMKhfEO8XLwd2W8d0g432m+tr/YsJNh6h/bCDU3Bs312vEVQw9MQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=kBMjSUE2; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735430410; a=rsa-sha256; cv=none; b=QePdUQuu9JoCn9ZRnRtSUo9nNM40NzLITyo9YLXzi1YGPYm8H1qn59PoV0Fef1s4KZ+rXb 7U8rQKsqBKz59xIome4JQ5JmeN1U4fLhzZbOKtcGVToOkyR3fMHoIgWI8S9cPO11eresAw GLVQ6VulY2F8zqW4gaRiGqEXjJ/CAYMDWCfbwUX961KbI7g+Fg84EvJRrA4ojfF6tFJwjy oGx2b/4QssLX7/ArCnnRhx8S+OR6mHxlwXCIjf21UEATcMxD4jiejw2rwOrqmhLoRQxAfQ 1JWoWBtqyGkl7bNfMYOjNvNbhtGojYRnE5xctpGzN0GqTk3e/BOv1gBbnsV9Zw== Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 C1CF21B451 for ; Sun, 29 Dec 2024 01:00:10 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3EEE55F5E3; Sat, 28 Dec 2024 23:51:54 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1]) by mail.notmuchmail.org (Postfix) with ESMTPS id 62BCF5F5CB for ; Sat, 28 Dec 2024 23:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net; i=@tethera.net; q=dns/txt; s=2024; t=1735429907; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=c3YzuWGlQr2mXtefHwDLE8FumFNzB5ek4OmBNeF6Jss=; b=kBMjSUE2C0/LLm61QBAobM3+SawT2gyhIh1QDUs9TG6VVcORidKKzJz8Fwx5CTIVoyHd+ x5SAv/dc4+32uTBAVlzMshjuH8cS4OZ6o27c7pNTg9pzWd4oba6ZlrPk0YkJB0k+Og6+GSd FtTdLSP6nijFrvznJCVW/5D2+XMTYCk72cS6JlNnSYcfyDk7qMvAGVnxJ+6hB0tuaDpUUSj Z/mTbMjUuKhVgB91x63k+ZRFyxU2XgRQdMIun9fZGrtJg8n4iY3JFQOdm6D4N6tonYAN3ec VkPwOtfwxwytfT4pjpBNJDN7reC7HqY6ZNEu9FDPTPmd8cd5hl+jKJY3mTdA== Received: from tethera.net (unknown [207.194.98.241]) by phubs.tethera.net (Postfix) with ESMTPS id C06F518006F; Sat, 28 Dec 2024 19:51:46 -0400 (AST) Received: (nullmailer pid 457584 invoked by uid 1000); Sat, 28 Dec 2024 23:51:44 -0000 From: David Bremner To: Yousef Akbar , notmuch@notmuchmail.org Subject: Re: notmuch show: Parsing message depth in thread from JSON In-Reply-To: References: Date: Sat, 28 Dec 2024 15:51:44 -0800 Message-ID: <87r05rqsbz.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: MHLHS3WOSDWVDDMAEF7YA6A423R2J566 X-Message-ID-Hash: MHLHS3WOSDWVDDMAEF7YA6A423R2J566 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; 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-Country: DE X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.52 X-Spam-Score: 4.52 X-Migadu-Queue-Id: C1CF21B451 X-TUID: KusPvByB17WQ Yousef Akbar writes: > > Question: Any idea or hints for how to parse the depth of each message > in a thread with json output of notmuch show? Have a look at the file devel/schemata in source. It is indeed supposed to be a tree structure.