From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88247 Path: news.gmane.org!.POSTED!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.gnus.general Subject: problem with notmuch search in recent emacs snapshots Date: Sat, 17 Nov 2018 18:28:31 +0000 Organization: On the Interweb somewhere Message-ID: <87d0r3imnk.fsf@ucl.ac.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1542479249 1304 195.159.176.226 (17 Nov 2018 18:27:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 18:27:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36457@lists.math.uh.edu Sat Nov 17 19:27:25 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO5JU-0000Eu-QV for ding-account@gmane.org; Sat, 17 Nov 2018 19:27:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1gO5Kv-0007Ap-JP; Sat, 17 Nov 2018 12:28:53 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gO5Kl-00077t-Uy for ding@lists.math.uh.edu; Sat, 17 Nov 2018 12:28:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gO5Kj-0004De-Rs for ding@lists.math.uh.edu; Sat, 17 Nov 2018 12:28:43 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO5Ki-0002oc-0Y for ding@gnus.org; Sat, 17 Nov 2018 19:28:40 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gO5IZ-0007dQ-Fh for ding@gnus.org; Sat, 17 Nov 2018 19:26:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@blaine.gmane.org X-Url: http://www.ucl.ac.uk/~ucecesf/ Cancel-Lock: sha1:dz572pNNjuTxmFW25P3XNc07UGw= X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88247 Archived-At: Hello, recently, I upgraded my emacs to the latest snapshot (20181111) on Debian. Since then, search in gnus does not work. It always fails. An example of the messages that are generated follows: --8<---------------cut here---------------start------------->8--- Doing notmuch query XXX on mail.misc mail.gemini mail.t3610 mail.pinto... notmuch args: search --format=text --output=files XXX( path:mail.misc or path:mail.gemini or path:mail.t3610 or path:mail.pinto) Massaging notmuch output...done Search produced empty results. gnus-select-newsgroup: Couldn’t request group nnir:nnir-87lg5rindf.fsf: Search produced empty results. --8<---------------cut here---------------end--------------->8--- With the exact same gnus and notmuch configuration, everything is fine with emacs snapshots from a couple of months ago; one of my systems is running snapshot 20180909. There is one obvious difference: the notmuch arguments, for the same search, at the same topic, looks like this: notmuch args: search --format=text --output=files XXX I.e. no paths are specified. I wonder whether the problem is the strange lack of a space between XXX (my search term) and the opening "(" for the list of paths to check? Even if only a single group is checked, the latest versions of gnus append an explicit path. If I turn nnir-notmuch-filter-group-names-function to nil, I get the old behaviour back so I can still search but the default does not appear to work. Adding a space before "(" on line 1547 of nnir.el might fix this? Untested. thanks, eric -- Eric S Fraga via Emacs 27.0.50 & org 9.1.14 on Debian buster/sid