From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 906416DE024F for ; Tue, 18 Feb 2020 17:21:08 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.067 X-Spam-Level: X-Spam-Status: No, score=-0.067 tagged_above=-999 required=5 tests=[AWL=-0.066, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MTa7Rp5uhUg6 for ; Tue, 18 Feb 2020 17:21:07 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 288486DE022E for ; Tue, 18 Feb 2020 17:21:06 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1j4E2z-0006c5-1r; Tue, 18 Feb 2020 20:21:05 -0500 Received: (nullmailer pid 169192 invoked by uid 1000); Wed, 19 Feb 2020 01:21:01 -0000 From: David Bremner To: Antoine =?utf-8?Q?Beaupr=C3=A9?= , notmuch@notmuchmail.org Subject: Re: [aperezdc/notmuch-addrlookup-c] Possibility to upstream (#23) In-Reply-To: References: Date: Tue, 18 Feb 2020 21:21:01 -0400 Message-ID: <87d0abtls2.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2020 01:21:08 -0000 anarcat writes: > One improvement we could *already* do with notmuch-address would be to enforce searching for to/from headers, which doesn't seem to be the case right now. I have a [wrapper script](https://gitlab.com/anarcat/scripts/-/blob/master/notmuch-address) where I do basically this: > > exec notmuch address from:"$*" > > I would love to be able to do `to:"$*"` here, but that gives the unexpected result of the `From` addresses instead of `To` in that search... And `--output=recipients` does not fix that at all... > If you have a way to reproduce this (e.g. that works with the notmuch test corpus, or at least doesn't depend on your mail), please let us know. I can't really understand the problem from the description here, so it's not likely to get fixed. PS this is not sent via github, as it's not about notmuch-addrlookup