From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.bugs Subject: bug#62451: 29.0.60; nnselect-request-threads assumes gnus-search-use-parsed-queries Date: Sun, 26 Mar 2023 08:17:03 +0800 Organization: Boston University Message-ID: <87355stlhc.fsf@ust.hk> References: <87edpcfml6.fsf@athena.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23036"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: cohen@bu.edu, 62451@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 26 01:18:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgE5d-0005gQ-L3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Mar 2023 01:18:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgE5F-0004sh-7Z; Sat, 25 Mar 2023 20:18:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgE5D-0004sI-Cb for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 20:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgE5C-0007Ub-LK for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 20:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgE5C-0001dv-0k for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 20:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Mar 2023 00:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62451 X-GNU-PR-Package: emacs Original-Received: via spool by 62451-submit@debbugs.gnu.org id=B62451.16797898446259 (code B ref 62451); Sun, 26 Mar 2023 00:18:01 +0000 Original-Received: (at 62451) by debbugs.gnu.org; 26 Mar 2023 00:17:24 +0000 Original-Received: from localhost ([127.0.0.1]:43700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgE4Z-0001cs-KV for submit@debbugs.gnu.org; Sat, 25 Mar 2023 20:17:23 -0400 Original-Received: from andy.bu.edu ([128.197.41.152]:38632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgE4X-0001cf-VV for 62451@debbugs.gnu.org; Sat, 25 Mar 2023 20:17:22 -0400 Original-Received: from [193.176.211.56] (helo=clove) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgE4Q-0001dM-Gr; Sat, 25 Mar 2023 20:17:16 -0400 In-Reply-To: <87edpcfml6.fsf@athena.silentflame.com> (Sean Whitton's message of "Sat, 25 Mar 2023 16:16:53 -0700") X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "andy.bu.edu", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: >>>>> "SW" == Sean Whitton writes: SW> X-debbugs-cc: cohen@bu.edu nnselect-request-threads generates a SW> query in Gnus's generic search language and expects SW> gnus-search-prepare-query to convert it to a raw query. But if SW> gnus [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258638 Archived-At: >>>>> "SW" == Sean Whitton writes: SW> X-debbugs-cc: cohen@bu.edu nnselect-request-threads generates a SW> query in Gnus's generic search language and expects SW> gnus-search-prepare-query to convert it to a raw query. But if SW> gnus-search-use-parsed-queries is nil, as it is by default, then SW> this doesn't happen, and the search engine receives a query it SW> can't understand. For example, notmuch receives a query like SW> "id: or id:" when it should receive "id:foo or SW> id:bar". SW> This breaks the gnus-summary-refer-thread command. SW> One way to fix it is to add a binding SW> (gnus-search-use-parsed-queries t) to the let* form in which the SW> call to gnus-search-run-query is made. This has been in my tree for ages but I never pushed it (it is part of larger changes to thread referral/retrieval). Its worth pushing by itself and I'll try to do that. Sorry for the delay. -- Andrew Cohen