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 27097 invoked from network); 30 Jul 2021 18:17:28 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2021 18:17:28 -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 1m9X4X-004yjm-D0 for ml@inbox.vuxu.org; Fri, 30 Jul 2021 13:17:25 -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 1m9X4W-00C9FW-OH for ml@inbox.vuxu.org; Fri, 30 Jul 2021 13:17:24 -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 1m9X4U-00C9FO-HV for ding@lists.math.uh.edu; Fri, 30 Jul 2021 13:17:22 -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 1m9X4R-00CaNb-3Z for ding@lists.math.uh.edu; Fri, 30 Jul 2021 13:17:22 -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=c5VU/MugEk17CRMeitYF6GEPTnvbG+X8pQbq38KD7VU=; b=BNdR1Ox8A1c1NhhOItgrGMqE66 i4wUzHAMjsGvP/lc/cSwGysejFobuRrbwCiLRdLxTx4Kny0pcX5A+O/ejRDUzQqveXI3cX0VmLSG9 LbD5z85i6OgKimZF3POkguZ9xsDl84zweeYGRLfRSAwewZ0ObOL3t8H+LPbKWOYiYA2c=; Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m9X4I-0002Fr-AB for ding@gnus.org; Fri, 30 Jul 2021 20:17:13 +0200 Received: by mail-qk1-x72c.google.com with SMTP id k7so10258141qki.11 for ; Fri, 30 Jul 2021 11:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=c5VU/MugEk17CRMeitYF6GEPTnvbG+X8pQbq38KD7VU=; b=FHP3FpNa/MqK6+AbOnFU491zA/qHj8e9hCFFRQ2DEXmV39zWxL2Xav2ROtp7r1tKjN YV+D6MHA/KXqICkOrdcA9c3BRJNT2I3lBRsfFdId2pRhJsM27kZ2tYXjp4ci4hEnwea6 bGOnejtuMaAR9T0nCq9eQwdN+cLNSB8Mv9PMM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=c5VU/MugEk17CRMeitYF6GEPTnvbG+X8pQbq38KD7VU=; b=RahORCQPacG6+nDi0JEGqZhBdE9S1T8/fj8hYlNIrHCV/rIEG6dka/1F46qPruDs4R OMEteYpE8X9uRsi6k6R1VZJCuTipe0JfyGiM2eCeKBUPshcv62WG3ca2g/HK7XSVc1+x B6iXwhqQRISUDBcGbZewN4F5R23G4swRk5UuZ8T84kI8wQYYzn2OIgpBJ6VJ90Ox2VRN kG5C9ovHhflqDs2XrjKQ9yXLuq3kMwa3mJNKZxqRklWu07RRqPMoXqYDHYs740nTauTP ywd89BvN3kPMKXWXjm6UQ52Yd7+Jv10q37B8BhOUkvX8zDTX5sGG29VPlYEVeKs3QvQV pPJw== X-Gm-Message-State: AOAM531c9wkM97O7SVpBE0JhunFxgbt5VrfLI9PzMKzFq2/csroCx58k UXC5r77sSCxfljZwMzNRRFpY8w== X-Google-Smtp-Source: ABdhPJyAXyU+Ci9X74kV3Hv7/hnht2YYMMBPK6MXUL+s79zCM9z1uVc/aV6whmmFXDfT0PFC2k0Bgg== X-Received: by 2002:a37:658c:: with SMTP id z134mr3593593qkb.310.1627669026700; Fri, 30 Jul 2021 11:17:06 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-187-65.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.187.65]) by smtp.gmail.com with ESMTPSA id m187sm1254965qkd.131.2021.07.30.11.17.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jul 2021 11:17:05 -0700 (PDT) From: Joseph Mingrone To: ding@gnus.org Cc: Eric Abrahamsen , Alexandr Vityazev 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> Date: Fri, 30 Jul 2021 15:17:04 -0300 In-Reply-To: <87fsw21w3k.fsf@posteo.org> (Alexandr Vityazev's message of "Sun, 25 Jul 2021 11:17:19 +0000") Message-ID: <86bl6j650f.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk 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