From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UOzqBVDP12TCfwEASxT56A (envelope-from ) for ; Sat, 12 Aug 2023 20:28:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kDvjBVDP12QckAAA9RJhRA (envelope-from ) for ; Sat, 12 Aug 2023 20:28:32 +0200 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 D00EF49021 for ; Sat, 12 Aug 2023 20:28:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691864911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=4Xi4uDB6JJC74omoNFyeziyAjKtkxY17A4pJ/j7pG7s=; b=DV17v8f7naW3Ubr7cTdNGKSWuOnLFOdaiytSfif2B0xVxeuLLbmwzZ2g/n29aY/9M4E8KV PG2cH7j+E3ZEyYoAZZTF3A2+S8dnwO8YowhXM4d2obP+b6UsXQBaOEQDoqYchaxyqcW6P4 xsW4MtxJdhxI09Gt2ZfoNnLUdPXqB9ZBHhL6mGg5VMNoozw2AQjYggMr7Gk2zW5yf+1usl Zp3R/RXnDt9NjBLSQOVVl+JmdVBFRIPFrSEopGkYlNe2IOibaNMxA+kpwmMP+bsOlYey29 3JEuafkd4vIpBSuRt9Nms9qkBRMAOIhJXaHzRf/fhOWwNddUoNHeT/xCGsf+JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691864911; a=rsa-sha256; cv=none; b=V/ijAjin0beYBvnpW3kHJMrS8nCWLIYjHmvjW1jj50zIK1IYnZ4RF+2ntRy+CfG45Rwwje vc/yDIAENtkmUWqWC2xtkcw7DxDuNcuiHtvup/1i9hd8qXik9uGRr2qZJUboUD6ZDWzuNi J1IY7X5wC3uJTl39q6oANxsSEKzzFrX1TvkXNxiPJ9vLCYuVyHsbDeOkSPYoDeR0AP3h/+ auhH+o1orZGDD58WUnWVUzw5fHbU+bg0sz0k+vPSazuU62UT/xniWDdSe8ac9gJ6J8U4ZO bxEiQvhXj37VFZ/IXYA2PIf5NB17yUmcqYfGWEAFSPPeQc+Utq8vdOZEdRaGpw== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 659175F707; Sat, 12 Aug 2023 18:28:20 +0000 (UTC) X-Greylist: delayed 2470 seconds by postgrey-1.36 at yantan; Sat, 12 Aug 2023 18:28:18 UTC Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) by mail.notmuchmail.org (Postfix) with ESMTPS id 589BA5F5E2 for ; Sat, 12 Aug 2023 18:28:18 +0000 (UTC) Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qUshe-009wIy-TD for notmuch@notmuchmail.org; Sat, 12 Aug 2023 19:47:06 +0200 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qUshe-0004jq-DA for notmuch@notmuchmail.org; Sat, 12 Aug 2023 19:47:06 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (875640)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qUshW-0005eI-KN for notmuch@notmuchmail.org; Sat, 12 Aug 2023 19:46:58 +0200 MIME-Version: 1.0 Subject: Query by how many messages are in thread? From: Lars Kotthoff To: notmuch@notmuchmail.org Cc: Date: Sat, 12 Aug 2023 11:46:55 -0600 Message-ID: <169186241515.1374.9358163915320675037.kukulkan@sakura> Message-ID-Hash: 4YUSDDFE2FFNP5GUYL6ELR4ODIJMQ6Z7 X-Message-ID-Hash: 4YUSDDFE2FFNP5GUYL6ELR4ODIJMQ6Z7 X-MailFrom: lists@larsko.org 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-Spam-Score: -0.39 X-Spam-Score: -0.39 X-Migadu-Queue-Id: D00EF49021 X-Migadu-Scanner: mx2.migadu.com X-TUID: M4MKyuGDG91n Hi all, I was wondering whether there's a way to query threads that have a certain number of messages, in addition to matching the rest of the query. I'm trying to find threads where I have sent an email (easy enough by just matching "from") but where I haven't gotten a reply yet (i.e. there's only one message in the thread), so that I know to follow up. If you can think of another way of doing this, that would be great as well! Thanks, Lars