From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oJWbGpxbFWF6QgEAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 19:34:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AMdAFpxbFWHOZQAAB5/wlQ (envelope-from ) for ; Thu, 12 Aug 2021 17:34:20 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B58174423 for ; Thu, 12 Aug 2021 19:34:19 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 363A51FA54; Thu, 12 Aug 2021 13:34:15 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 3E3201FA16 for ; Thu, 12 Aug 2021 13:34:13 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 25BA55FD5C; Thu, 12 Aug 2021 13:34:13 -0400 (EDT) Received: (nullmailer pid 1361793 invoked by uid 1000); Thu, 12 Aug 2021 17:34:10 -0000 From: David Bremner To: Tulio Magno Quites Machado Filho , notmuch@notmuchmail.org Subject: Re: Feature request: Search header Reply-to when using search prefix from In-Reply-To: <87tuk7d6ay.fsf@linux.ibm.com> References: <87k0nl8nvi.fsf@linux.ibm.com> <87lf5jzwlx.fsf@tethera.net> <87tuk7d6ay.fsf@linux.ibm.com> Date: Thu, 12 Aug 2021 10:34:10 -0700 Message-ID: <87mtpma7ot.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: DW5TZT3EU4MRPEX7RRZKNBZKCT3HNYRB X-Message-ID-Hash: DW5TZT3EU4MRPEX7RRZKNBZKCT3HNYRB 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; 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=1628789659; 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; bh=Nd1EyqcUS59rko1nGeKEIBG4Is4GwK9OJf01VQC1BJ8=; b=YJU76Dm6jHTPcS7WBDOdKIO4imYF3cIVZEti//KhkHvo33ToleCMR7tP1nkS3vM/3a5u0G GuMzXWC937Z4sr2DjcuGXU7zlFwd+oljHXmZfTQn1wgbVbci45m2rJw+zEcbB+G81CAw53 GcG/8L1bz6SiO68QyzqbZcKJB1928IPgBTFoclFGLYmGjXGn8LyRpwZ+hGEkHjx3p1fBgt l5UFCCRWFXJYm+4jx8SzkYiMrQiZQgSdj2+LCp7OPGZDnp18rf3XSO6J7pomaosPd9JzHQ iTBOQLqBugxAzAhib10sOjC3t5mwvpf/TU4vbJePjQ69GwavOpzvnxlHclow5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628789659; a=rsa-sha256; cv=none; b=eLHWP98SXdKDQ4wj0M2nv4LNfuv0HDW3KnmO28JAds3fGvDS43wIExdyZh9LeZuZEnSWlX 49vFjpl03lr4KffFIDi0BZoRgZ5aOsS0iC97nFkuQlY6lJSfpjualZtMRCRyCSwmbYyj0S SSCDJi6XwNUDlm1/Cozn41zqYNg09jwp6qyVljQ8APFCVUoBseBx4+u2yWA9eNxVCbQhca qZKu5HYSVKJrTK6wp2wypEIkzYU6WTzP65QBnK/U8tOriF/NIOvlV0cnudS1oypgOPPdgx HbntNkmbiae8eNsL201KspYiAyx8VJGuiRT4lmQ8+Esxx0hWWirY7U2leZDcCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: B58174423 X-Spam-Score: -0.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0xO5DrvhpEiK Tulio Magno Quites Machado Filho writes: > David Bremner writes: > >> I personally prefer to search for lists by List-Id. Can you explain a >> bit why that doesn't work for you? > > Me too, but in many cases I have to search for the author of the message without > remembering if the message was sent directly to me or via a mailing list. > One option to consider is the upcoming s-expression query syntax. The latest version [1] includes the possibility to define a macro like (macro (From user) (or (from user) (Reply-To user))) and use it like $ notmuch search --query=sexp '(From user)' [1]: id:20210812170728.1348333-1-david@tethera.net https://nmbug.notmuchmail.org/nmweb/search/id%3A20210812170728.1348333-1-david%40tethera.net