From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11013 invoked from network); 12 Apr 2022 17:33:43 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 12 Apr 2022 17:33:43 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1neKOb-00460B-Dg for ml@inbox.vuxu.org; Tue, 12 Apr 2022 12:33:41 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1neKOa-007E9H-MZ for ml@inbox.vuxu.org; Tue, 12 Apr 2022 12:33:40 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1neKOZ-007E9A-FX for ding@lists.math.uh.edu; Tue, 12 Apr 2022 12:33:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1neKOW-0045zs-Ao for ding@lists.math.uh.edu; Tue, 12 Apr 2022 12:33:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s6m6ciZo/us4K07htlW4CKcYnFbXckg+rvWRamYrpIw=; b=ZW2/s1VZ+86nBH/0lx9mB3a/J9 NAj6/Mxd2fVucv9VwQFO6NU/2Q/H/qZaKHSAYBVFJ/PdUbXrrBQHanXRXQKhylQPwM9ihofpQGJ7n 8+eU9jnJD+Ayh1Tv3PiSd7HN9zL3A0eFis4XqNQk//FQ8SVQI+Zj4B7cbXIjb57BRcfo=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neKOP-0002RM-25 for ding@gnus.org; Tue, 12 Apr 2022 19:33:31 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1neKOK-000250-TN for ding@gnus.org; Tue, 12 Apr 2022 19:33:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Notmuch as search engine Date: Tue, 12 Apr 2022 10:33:17 -0700 Message-ID: <87v8ve436q.fsf@ericabrahamsen.net> References: <87y20acl6b.fsf@laymusic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:LOlB4y32F0ZWXkOhDCPPupkbZjs= List-ID: Precedence: bulk Laura Conrad writes: > I am indexing my mail directory with "notmuch new", and when I search > from the command line, I can get the amount of hits that I would > expect. However, the format they're in doesn't seem to be what I would > expect, and I can't find the mail file from them, and neither can gnus. > > The command line search returns something like: > > notmuch search scuttle > thread:00000000000208d9 Today 00:11 [5/7] Laura Conrad, Alan Zhou, Zeke > Kaufman, Daniel Tate| Sandra Patterson; Board decision (attachment inbox > unread) > > And what gnus tells me when I do "G G" is: > > gnus-select-newsgroup: Couldn’t request group nnir:nnir-87zgkqclfi.fsf: > Search produced empty results. > > I would expect this to be /home/lconrad/Mail/sent/32974, but I don't see > how either I or gnus could figure that out from the notmuch output. > > Am I running notmuch wrong? Lots of people (including people on this > list) seem to be using it with gnus, so it must be possible. The format of notmuch's search results depends on the switches it is called with. If you use "--output=files" it will give you filenames. I'm curious how you're using notmuch from within Gnus. Both the "old" nnir library and the "new" gnus-search library know to use the correct --output switch. What version of Emacs/Gnus are you using? Eric