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 ms9.migadu.com with LMTPS id aEIjDxAPRGSrPAAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 18:45:04 +0200 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 2JotDxAPRGT8+QAA9RJhRA (envelope-from ) for ; Sat, 22 Apr 2023 18:45:04 +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 030C3103A8 for ; Sat, 22 Apr 2023 18:45:04 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 208385F36E; Sat, 22 Apr 2023 16:45:00 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id A53625F365 for ; Sat, 22 Apr 2023 16:44:57 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 23ACF5FB95; Sat, 22 Apr 2023 12:44:57 -0400 (EDT) Received: (nullmailer pid 188441 invoked by uid 1000); Sat, 22 Apr 2023 16:44:56 -0000 From: David Bremner To: Al Haji-Ali , notmuch@notmuchmail.org Subject: Re: Correcting message references In-Reply-To: <87o7nf50ve.fsf@minkowski.home> References: <874jp85g26.fsf@minkowski.home> <87o7nf50ve.fsf@minkowski.home> Date: Sat, 22 Apr 2023 13:44:56 -0300 Message-ID: <87leij50jb.fsf@minkowski.home> MIME-Version: 1.0 Message-ID-Hash: 4DJQUUOVCSFKPUJ5VCQP4MFINNUU7CU7 X-Message-ID-Hash: 4DJQUUOVCSFKPUJ5VCQP4MFINNUU7CU7 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-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682181904; a=rsa-sha256; cv=none; b=NQvt+U9K3KiTTY1yTj4w/UQjlX6L3VuMSXk1VRsvyhjQJTR2ZAiGlIkD16vaNNOkgNlfs/ c6nEy+Hmohsrmgb+4LhGEENzZI1cPgBbRypQF6Yq5Vfs7VENokaAP/lKwLffovtdpXH7uw RVAKWH/0YXU/Y7MQIlOLjH9pKaBytGfZVUe2+bMvGKwcSoJvS+EJM/SzO8JpAZxfSQ0jrC UIjwiefuPZsN6XxIPjv1kK5/pRQ1M36v4L7/+D3ef7682Pe6bxnkI1qxXZYqjYjPrmDypg 3oSvzwpgFk2k1WeuyYe/PmZjNSK2RWqILuzdPRKThbMvRKL4FNuXU4x+i5MGbQ== 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682181904; 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; bh=OErUXDumhEE09d19WaTsoWHDUgP//Cxp8IN7szYPmK0=; b=TO+/zMebKKyQhR2D6kbDm27ErPcKLfybei/HqhMQqqe9M10f4azP6E/rpZsgnCLWVpzWst dWwjKGDq3rSlF4fvoXNgKnnd/niDz6I0d/HF8MIuMX5JMU0NF3EvEs+sC8YUEKuJ5rLVLz iQ9CmqPjjW0rySGMTDx71YETyPMUaM9Nq0NhItD1CnKeDk8TLlpfhtHDFGcQ4cAjZfKxjh 7TvaZIO0y6JIseO59kOPBL27lq8MuJp8mCLohbw65IcutJdyRa9BVu+HdHqyjYgIyqwJe2 7ktuJHXdwOMzxK+qZ1NT7RcNXueyWCIZqAUbwZIqJvEM8CV0cg45FANtNiOzuQ== X-Migadu-Spam-Score: -2.55 X-Spam-Score: -2.55 X-Migadu-Queue-Id: 030C3103A8 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: 8vu35aA6ye77 > > As long as some message refers to that ID, notmuch will create a "ghost > message", used for threading. You can look for a specific ghost message with something like $ quest -btype:T -b id:Q -d .local/share/notmuch/default/xapian \ "type:ghost and id:jwvczk7opm8.fsf-monnier+emacs@gnu.org" quest is also part of xapian-tools. Unfortunately I don't think quest understands the way notmuch uses multiletter prefixes (without a :), so to find references you still need to use xapian-delve.