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 2C8jJXUGfWM7tAAAbAwnHQ (envelope-from ) for ; Tue, 22 Nov 2022 18:27:17 +0100 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 QGpOJXUGfWNPgAAA9RJhRA (envelope-from ) for ; Tue, 22 Nov 2022 18:27:17 +0100 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 2056E3FE0F for ; Tue, 22 Nov 2022 18:27:17 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 462D95F9E5; Tue, 22 Nov 2022 17:27:14 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by mail.notmuchmail.org (Postfix) with ESMTPS id AE14B5E027 for ; Tue, 22 Nov 2022 17:27:11 +0000 (UTC) Received: (Authenticated sender: matt@rfc20.org) by mail.gandi.net (Postfix) with ESMTPSA id 4D5FD1C0002 for ; Tue, 22 Nov 2022 17:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rfc20.org; s=gm1; t=1669138030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Qwv2lEcavRxz/6GjSwQZDuDL0Qht4UPIr5Y2/i/tY2c=; b=SlJukAUzAGUvGbUGoeA9RwwrpIEHygx/L75ui/JlqY0z0XgEqaFrP2ERqqGLBAaTE0xMtM nA0MdKG7AME9H6WJYG7tO/22JaJ0uiEKRZVMETGSNrcNO6TVN8c0+Y6niZRSw3ND5c50Gf a2AOt/K/kfdUE4kgATjminB2mYHerB4TXgFLO96psJU5ERBK+IWpH+U7LTC9BBF8HURuK0 u3Sv3HWE7WKfcJv8cjYVa9un3s00iTLfO6poldEdU3N6q21ckEdubzmdXkUTBy583el+oQ DPnSOgjHJ9mvzf0kN0am17rAvskhw9PQvQ3GLqwMWyNo7wvXTRWMdzuNbdx5kw== Received: by mac-mini.lan (Postfix) with ESMTPS id 046DE3A92B for ; Tue, 22 Nov 2022 09:27:07 -0800 (PST) Received: by naz.lan (Postfix, from userid 1000) id E5DDA43BF9FF; Tue, 22 Nov 2022 09:27:06 -0800 (PST) From: Matt Armstrong To: notmuch@notmuchmail.org Subject: notmuch.el question: reading all messages in thread Date: Tue, 22 Nov 2022 09:27:06 -0800 Message-ID: <87bkoyc32t.fsf@rfc20.org> MIME-Version: 1.0 Message-ID-Hash: AL2JXPCCZNLBKDE4XZXGOKYUDIYYF5NA X-Message-ID-Hash: AL2JXPCCZNLBKDE4XZXGOKYUDIYYF5NA X-MailFrom: matt@rfc20.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669138037; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GQ38EkMjtQ0plkgAqAioC7v45gj72qA5g2dNNUcjVJY=; b=gzdSDsFaoujM4Fxw9/3XXq3A8bWkCflsYXe4he148hj4bUxHoKRBEuwVWSAS/et4v+XMH8 /UftinaqLBPHfrjjrQYT6LuC+GmyStGQ8Hj1zluVspKCC9jtWIJAviaiWgLlsPytn9v4m7 gDt2zKndUHfdST/8f0ddrTA2C32i1cvjSKviA/zAxwRQFMBNmmcCVnAxFv64Ey3SMwpTOO C5fo7jSUMATpjld8XalEPJTsruYSkegzn3UOwZdNJcBtpqvlKb8zsZxDyyDFmDHiDQDF9/ jzgjMSvn6wfva1cuqUWsqGu3ObdqMomXclPSfGaWRpFxDAwod+H2idla2eQFiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669138037; a=rsa-sha256; cv=none; b=UbWIR00tAUD5cjp4gFVLprh+TIvH6tAbdydeO3RIGsegE8CqNwZSEtfP0p8cVwF3tpMYXN mus8vUQIVAIK69UARxHgrYWOJnB/soRQJZ8/Aro4ljrwCfxijkfvh3o9I5jUOH2EJha3UV ml+HWYbCS9xmsx3yoYR4Wc3lKb4/aUwRj26T2njbBH+5fyAIusgvtle1IbHMCLDHBjtyNE cTb9k8yuxwRg4jjOMYbDlY2NQGeK7Yktstl7x1S3sT+8BqaIzXi4pghaDaUjNih6DsD2Ij Ho77ZmVS8dyJf+CicI1LTWt/1XITYRzr80WoOncxmIQOQbE01qZB0TidAg6NLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=rfc20.org header.s=gm1 header.b=SlJukAUz; 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: 3.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=rfc20.org header.s=gm1 header.b=SlJukAUz; 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: 2056E3FE0F X-Spam-Score: 3.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: L2EBmNLKuRw9 Sometimes a notmuch query matches only a subset of messages in a thread. When this happens only that subset of messages will be "open". Many notmuch commands operate on the "open" messages only. For example: SPC, 'n', 'p'. Often this is what I want. It works well when I'm looking for a specific piece of information, or when I am interested in reading only the unread messages in a long thread that I have seen previously. Often this is not what I want. I'm interested in seeing all messages when I am looking for entire conversations where a topic is being discussed. E.g. when I want to re-read a long forgotten thread, or one that surfaced through specific search terms that appear only in a few of the messages in the thread. For example, I subscribe to some lists but don't read all messages in a timely manner, if I ever read them at all. A search might surface threads from those lists before I read them with my usual "tag:inbox tag:somelist" query. I typically find these threads with a query "tag:inbox some other search term". In the second case I can achieve what I want with queries like: thread:"{tag:inbox some other search term}" But this is a burden to type and I often realize I want this after the usual query has produced the search results, and then pressed 'Z' to get a tree view, and realized that most of the messages are "closed." I looked for a way to easily re-query a tree view buffer such that all messages in all threads shown are "open" but did not find it. Does this exist? I suppose I'm looking for the opposite of `notmuch-tree-filter'. Maybe `notmuch-tree-widen-to-thread' that produces a new notmuch tree widened to the entire thread of the current message.