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 7475 invoked from network); 30 Jul 2021 19:34:12 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2021 19:34:12 -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 1m9YGn-0053Tg-CF for ml@inbox.vuxu.org; Fri, 30 Jul 2021 14:34:09 -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 1m9YGm-00CA5C-EP for ml@inbox.vuxu.org; Fri, 30 Jul 2021 14:34:08 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m9YGl-00CA57-Cb for ding@lists.math.uh.edu; Fri, 30 Jul 2021 14:34:07 -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 1m9YGi-0053TG-Tj for ding@lists.math.uh.edu; Fri, 30 Jul 2021 14:34:07 -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=isUXk8asJ/heJv7tvCGL8ga+3dU6sIzK1lgwpF0MM1o=; b=LC+3/PvtaTGCIXPZkHtOppcPTd 0jzRqug2aCpH/d2vOSieqeEGvpwvu2GZSzY2gRl5uQkh0UESTfimDKI+iaqZXDnzs1ULEaJBPky03 AN54WudAubXP14vQohqKXHzXaV5CiqQ72Fx1zMccq3h62nG7dZKFT8cHcDh/o5AmwYX0=; Received: from mout01.posteo.de ([185.67.36.65]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9YGa-00033H-VG for ding@gnus.org; Fri, 30 Jul 2021 21:33:59 +0200 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 19307240028 for ; Fri, 30 Jul 2021 21:33:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1627673636; bh=yUz5q0UsmTlS70mRUgMuwz9/RbRleKVLAUyVG32vbzY=; h=From:To:Cc:Subject:Date:From; b=dNLKB0agYbyA3Z/fWlexvjuqbEMNg1xzSJsRUtB82HMhDpBBTmjxrpKzIpqJtZUHd pi0s41YD+9NP2MQH2hK/TTTuCZUJv/bpK7boMYHM1z24BUmbdwwxez8brnylqsm1Bo qcENpLCfg5rGuuEcdCWTlTPXAt+UiIydk2qjh/oIyBL4ceTo6iqnPyLCQdGQk/kHS8 p2V4hrMKk9Lmjx72vwIoySwcqjKVjldt/5V1yPMi85qNAtT0vEyWLxugkmY065j85G LFQX2uma6QOVmEXs2S/jIneqyG5cB9hXe63srQs5udZeHFnU2XyTS44L7OTAVIKRot J1GlGBSZvAVJQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GbyJ2234yz6tm5; Fri, 30 Jul 2021 21:33:54 +0200 (CEST) From: Alexandr Vityazev To: Joseph Mingrone Cc: ding@gnus.org, Eric Abrahamsen 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> Date: Fri, 30 Jul 2021 19:34:12 +0000 In-Reply-To: <86bl6j650f.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Fri, 30 Jul 2021 15:17:04 -0300") Message-ID: <87r1ffoatn.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk 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. -- Best regards, Alexandr Vityazev