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=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24793 invoked from network); 22 Dec 2021 21:08:20 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 22 Dec 2021 21:08:20 -0000 Received: from localhost ([::1]:41268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n08qP-0008W0-Cf for ml@inbox.vuxu.org; Wed, 22 Dec 2021 16:08:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08qM-0008Vb-9s for info-gnus-english@gnu.org; Wed, 22 Dec 2021 16:08:14 -0500 Received: from ciao.gmane.io ([116.202.254.214]:33562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08qK-0001mG-KC for info-gnus-english@gnu.org; Wed, 22 Dec 2021 16:08:14 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n08qH-0006ep-HM for info-gnus-english@gnu.org; Wed, 22 Dec 2021 22:08:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: "Jose A. Ortega Ruiz" Subject: Re: gnus-search-engine set to gnus-search-notmuch and refer threads Date: Wed, 22 Dec 2021 20:56:40 +0000 Message-ID: <87pmpoqrxz.fsf@gnus.jao.io> References: <87lf1k11ed.fsf@onenetbeyond.org> <877dd4rmof.fsf@gnus.jao.io> <87wnk6q2ym.fsf@onenetbeyond.org> <87y24ebiw8.fsf@ust.hk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:UPo59NvV3yQAN8ZDjAZd69T9q8k= X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" On Tue, Dec 21 2021, Andrew Cohen wrote: >>>>>> "dal-blazej" == dal-blazej writes: > > [...] > > dal-blazej> To reproduce the issue : > > dal-blazej> 1. In the *server* buffer, use > dal-blazej> `gnus-group-read-ephemeral-search-group' with the query > dal-blazej> "from:jao@gnu.org" > > dal-blazej> 2. The first search succeed ; *in the ephemeral search > dal-blazej> buffer*, now use `gnus-summary-refer-thread' on an > dal-blazej> article. I get: (wrong-type-argument listp "") > > I don't know if this is related but I just fixed a rather rare bug in > thread referral on master (it happens when the subject of the message on > which you initiate the thread referral is nearly empty). > > You might give this a try to see if it fixes your problem. I've just been able to reproduce the problem in latest master, so i am afraid the answer is no :) This is the beginning of the backtrace I get when A T in a nnselect buffer (with notmuch as its engine): Debugger entered--Lisp error: (wrong-type-argument listp "") alist-get(parsed-query "") #f(compiled-function (engine query-spec) #)(# "") apply(#f(compiled-function (engine query-spec) #) # "") gnus-search-make-query-string(# "") #f(compiled-function (engine server query groups) "Run QUERY against SERVER using ENGINE.\nThis method is common to all indexed search engines.\n\nReturns a list of [group article score] vectors." #)(# "nnml:" "" nil) apply(#f(compiled-function (engine server query groups) "Run QUERY against SERVER using ENGINE.\nThis method is common to all indexed search engines.\n\nReturns a list of [group article score] vectors." #) (# "nnml:" "" nil)) #f(compiled-function (&rest cnm-args) #)(# "nnml:" "" nil) #f(compiled-function (cl--cnm engine server query groups) "Handle notmuch's thread-search routine." #)(#f(compiled-function (&rest cnm-args) #) # "nnml:" ((parsed-query (or (id . "CAAwB6VDPO=pT-XU8cPNfZRtxXC48LD-OXepiGejb-+QAzoymm...") (or (id . "t7sEZR5CwAuextCqAQyuzZ4N-BAsbVMaKTaGiG6o56GNhGyz0U...") (or (id . "Ivxz0PU9N9S5LLCmCuI5-UE8pt2AVamHqzLc3LibJxLdYCvo1X...") (or (id . "a2wBK5wGXfG6kT2lSke4Mmqc14JC2SLMqP2nsMxZAizapFFBuH...") (id . "V00BOpL5XPuHuS_tIuCyc-9zxFq7mR1gLUgK-BhIUZjJOXoFdr...")))))) (query . "id:) #f(compiled-function (&rest cnm-args) #) (# "nnml:" ((parsed-query (or (id . "CAAwB6VDPO=pT-XU8cPNfZRtxXC48LD-OXepiGejb-+QAzoymm...") (or (id . "t7sEZR5CwAuextCqAQyuzZ4N-BAsbVMaKTaGiG6o56GNhGyz0U...") (or (id . "Ivxz0PU9N9S5LLCmCuI5-UE8pt2AVamHqzLc3LibJxLdYCvo1X...") (or ... ...))))) (query . "id:)(# "nnml:" ((parsed-query (or (id . "CAAwB6VDPO=pT-XU8cPNfZRtxXC48LD-OXepiGejb-+QAzoymm...") (or (id . "t7sEZR5CwAuextCqAQyuzZ4N-BAsbVMaKTaGiG6o56GNhGyz0U...") (or (id . "Ivxz0PU9N9S5LLCmCuI5-UE8pt2AVamHqzLc3LibJxLdYCvo1X...") (or (id . "a2wBK5wGXfG6kT2lSke4Mmqc14JC2SLMqP2nsMxZAizapFFBuH...") (id . "V00BOpL5XPuHuS_tIuCyc-9zxFq7mR1gLUgK-BhIUZjJOXoFdr...")))))) (query . "id:) # ("nnml:" ((parsed-query (or (id . "CAAwB6VDPO=pT-XU8cPNfZRtxXC48LD-OXepiGejb-+QAzoymm...") (or (id . "t7sEZR5CwAuextCqAQyuzZ4N-BAsbVMaKTaGiG6o56GNhGyz0U...") (or (id . "Ivxz0PU9N9S5LLCmCuI5-UE8pt2AVamHqzLc3LibJxLdYCvo1X...") (or ... ...))))) (query . "id: "nnml:" ((parsed-query (or (id . "CAAwB6VDPO=pT-XU8cPNfZRtxXC48LD-OXepiGejb-+QAzoymm...") (or (id . "t7sEZR5CwAuextCqAQyuzZ4N-BAsbVMaKTaGiG6o56GNhGyz0U...") (or (id . "Ivxz0PU9N9S5LLCmCuI5-UE8pt2AVamHqzLc3LibJxLdYCvo1X...") (or (id . "a2wBK5wGXfG6kT2lSke4Mmqc14JC2SLMqP2nsMxZAizapFFBuH...") (id . "V00BOpL5XPuHuS_tIuCyc-9zxFq7mR1gLUgK-BhIUZjJOXoFdr...")))))) (query . "id:)(("nnml:")) mapc(#f(compiled-function (arg0) #) (("nnml:"))) So, when we invoke A T, somewhere in the twisted maze we're trying to construct an invalid query string... maybe that rings a bell to someone? Curiously (or not), if i A W on the article instead, that works, and an A T there (its original group) works fine too. Cheers, jao -- One will rarely err if extreme actions be ascribed to vanity, ordinary actions to habit, and mean actions to fear. -Friedrich Nietzsche, philosopher (1844-1900)