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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15840 invoked from network); 30 Jul 2021 20:26:02 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2021 20:26:02 -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 1m9Z4y-0053vg-Ar for ml@inbox.vuxu.org; Fri, 30 Jul 2021 15:26:00 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1m9Z4x-00CAap-Qc for ml@inbox.vuxu.org; Fri, 30 Jul 2021 15:25:59 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m9Z4w-00CAak-KK for ding@lists.math.uh.edu; Fri, 30 Jul 2021 15:25:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m9Z4u-00Cen2-23 for ding@lists.math.uh.edu; Fri, 30 Jul 2021 15:25:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kaJMXYQr1leD47yrBMOAIL+QOgut4Gtik6KKX0GpLHw=; b=tTa3go/JnGPy9uleOdZ+ZMuOiA jsHWZA1VqvqJ2/OvNofjJz3IGRnzWSv5QohLfC4qPq7E33GVkLTB60uuj16yeRUSGBkDivqn6wGv6 7Um4pKSQ40MWZ4sbwBZREhMEz0uEzcrQFk1eStD7tqc84O9tOjz0UGonWDg8zD2ymlqg=; Received: from mail.ericabrahamsen.net ([52.70.2.18]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9Z4m-0003bD-QJ for ding@gnus.org; Fri, 30 Jul 2021 22:25:51 +0200 Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 53485FF50F; Fri, 30 Jul 2021 20:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1627676745; bh=kaJMXYQr1leD47yrBMOAIL+QOgut4Gtik6KKX0GpLHw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=R7+30dEzy2+M03DbI5eudr4jEQU/d9tEdsZ9WM2eg0vc4RUqd4vk2fiHBmJ7IDRpC 1lNY+j/c+UZT4VZ/nGDaq82uolu+NWxACLZ3jNlOwpJmXD7i5+OnBF2aoui8fDAbIe i31ilKD9qwJ5F1rLK1fhffwX/QL3EIIyeJb3ltOg= From: Eric Abrahamsen To: Alexandr Vityazev Cc: Joseph Mingrone , ding@gnus.org Subject: Re: Help testing gnus-search fixups References: <87sg12uejj.fsf@ericabrahamsen.net> <87fsx1g98n.fsf@tullinup.koldfront.dk> <877didvavo.fsf@ericabrahamsen.net> <87eeclnhl5.fsf@tullinup.koldfront.dk> <87a6n9ov0e.fsf@tullinup.koldfront.dk> <87zgv97x1u.fsf@ku.dk> <87pmw4ly9a.fsf@tullinup.koldfront.dk> <87k0mclxo8.fsf@tullinup.koldfront.dk> <87zgv7thls.fsf@ericabrahamsen.net> <87bl6tuqcb.fsf@posteo.org> <87mtqd83f7.fsf@ericabrahamsen.net> <87bl6sual8.fsf@posteo.org> <87h7gj9x2w.fsf@ericabrahamsen.net> <87fsw21w3k.fsf@posteo.org> <86bl6j650f.fsf@phe.ftfl.ca> <87r1ffoatn.fsf@posteo.org> Date: Fri, 30 Jul 2021 13:25:44 -0700 In-Reply-To: <87r1ffoatn.fsf@posteo.org> (Alexandr Vityazev's message of "Fri, 30 Jul 2021 19:34:12 +0000") Message-ID: <87lf5ntupj.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Alexandr Vityazev writes: > On 2021-07-30, 15:17 -0300, Joseph Mingrone wrote: > >> On Sun, 2021-07-25 at 11:17, Alexandr Vityazev wrote: >> >>> On 2021-07-24, 15:16 -0700, Eric Abrahamsen wrote: >> >>>> On 07/23/21 18:52 PM, Alexandr Vityazev wrote: >>>>> On 2021-07-23, 08:18 -0700, Eric Abrahamsen wrote: >> >>>>>> On 07/23/21 13:12 PM, Alexandr Vityazev wrote: >>>>>>> Hi! >> >>>>>>> GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, >>>>>>> cairo version 1.16.0). Gnus v5.13. >> >>>>>>> I tested the new version of gnus-search-indexed-parse-output yesterday >>>>>>> and the search with notmuch completely fails. gnus-verbose is set to >>>>>>> 10. press GG and type any search query, with the patch, I get: >> >>>>>>> Doing /home/akagi/.guix-profile/bin/notmuch query on >>>>>>> (nnmaildir+posteo:Drafts nnmaildir+posteo:Inbox nnmaildir+posteo:Sent >>>>>>> nnmaildir+posteo:Trash nnmaildir+posteo:Notes)... >>>>>>> Group nnselect:nnselect-87lf5xus2s.fsf contains no messages >> >>>>>> Hi, thanks for the report. Would you mind running your query on the >>>>>> command line (using the same syntax as gnus-search does, mostly >>>>>> output=files), and sending me the resulting list of file names >>>>>> (off-list, if you prefer). I'll try to find out why the parsing process >>>>>> is failing. >> >> >>>>> notmuch search --output=files test >> >> >> >>>>> in *Group* GG with "test" query, I get: >> >>>>> Doing /home/akagi/.guix-profile/bin/notmuch query on >>>>> (nnmaildir+posteo:Drafts nnmaildir+posteo:Inbox nnmaildir+posteo:Sent >>>>> nnmaildir+posteo:Trash nnmaildir+posteo:Notes nnmaildir+posteo:Junk)... >>>>> Group nnselect:nnselect-87czr8uasp.fsf contains no messages >> >>>> Hmm, I'm not able to reproduce this: it's a little difficult since I >>>> don't actually have the files on my machine, but as far as I can tell >>>> the search results are being parsed correctly. Are you familiar with >>>> edebug at all? Is there any chance I could get you to step through the >>>> function and see where things are going off? >> >>>> Thanks, >>>> Eric >> >> >>> I tested gnus-search-indexed-parse-output with edebug and found where >>> something is going on. The attached patch fixes the issue for me. >> >> Hello all, >> >> Alexandr, I applied this patch against the latest commit to master at >> the time of writing (55a9c17cef) and I still get no search results when >> there should be. With `gnus-verbose' and `gnus-verbose-backends', I >> just see >> >> Retrieving newsgroup: nnselect:nnselect-86im0r65gy.fsf... >> Doing notmuch query on (test)... >> Group nnselect:nnselect-86im0r65gy.fsf contains no messages >> >> in *Messages*. >> >> My search setup is simple. I just have >> >> '((nnimap . imap) (nntp . gmane) (nnml . notmuch)) as the value of >> `gnus-search-default-engines'. >> >> The only way I can get searching working again is to revert >> gnus-search.el to 0897ade8f9. >> >> Regards, >> >> Joe >> >> > > Hi, Joseph! > > All my methods are set in gnus-secondary-select-methods. Most likely the > patch solves the problem only with these settings. I did not research > whether it will work with other settings. To solve the problem with the > search it is necessary to conduct a more complete analysis, I still > cannot give an answer. I'm getting to it! I just need to find a moment to sit down and set up some dummy data and test the various possible configurations. It shouldn't be to hard to unilaterally force prefixed group names where that's needed, and force unprefixed names elsewhere, I just need to find the time. I'd like to get this fixed once and for all.