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 28000 invoked from network); 30 Jul 2021 18:22:52 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2021 18:22:52 -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 1m9X9n-004ys5-AP for ml@inbox.vuxu.org; Fri, 30 Jul 2021 13:22:51 -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 1m9X9m-00C9KT-OW for ml@inbox.vuxu.org; Fri, 30 Jul 2021 13:22:50 -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 1m9X9l-00C9KN-NZ for ding@lists.math.uh.edu; Fri, 30 Jul 2021 13:22:49 -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 1m9X9j-004yrh-Cc for ding@lists.math.uh.edu; Fri, 30 Jul 2021 13:22:49 -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=iDCFk/0t+Sa5SlCrf8KrUeay1LN/klddnhJ1N1E3+eQ=; b=PsR9NinL44NmHkH14u0sNhkbIR kT33COdg0y386rCX1QmfNdXG4GWac4gtmZlhgjp3uZb0cZBSg65xexWfWg1kVCTSyM0LqZrobYOXs bYOQN+x40+k14KPgvBSVYYZDJCFzjh0oHDecwqzVnYPfXpHE7yLCl39UHA8Y32WroazA=; Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m9X9c-0002Jr-6X for ding@gnus.org; Fri, 30 Jul 2021 20:22:42 +0200 Received: by mail-qv1-xf30.google.com with SMTP id db14so5659104qvb.10 for ; Fri, 30 Jul 2021 11:22:39 -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=iDCFk/0t+Sa5SlCrf8KrUeay1LN/klddnhJ1N1E3+eQ=; b=TRKL09R/ywph+gKfAI79x3dW5L9U+gOxiwerEAE6lLIdPLDAGX2m5JiaTjVkE5GvhB ZzsMs3dTj4iwXe/Q05yjqQKo3zH13Wv9QGP2w07GbTaN0K56iLgqyloAJyjyLDK2+azO qZ4jNOQSp617pbcKD04xv8qtxdtnqvW+ccUng= 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=iDCFk/0t+Sa5SlCrf8KrUeay1LN/klddnhJ1N1E3+eQ=; b=S3NdutP8EWR4N9jOdgNBuF+p1SWUfDsypJ8Nmv5AlbmAm6evHrZs0ymCD79yV0vix9 jFdqeFZCmc5KR9snS6m1MOTAvFb3bwUGwD3pQTiBhNdUekFI8rZyMrdHy9tsRNzFHAID lLgSJA7+V49G3MJGumAuGLeyP8uvkRxQ49RWtculoYbjEJcj+2xXLo8W48lKOGhklMLY S98zavtZNfCuodEro3mwiLArRE9q909nvmX0E623JwopcwnLv5NJPPyNzhli6KOwgMIt 0ATUZ0zpNnz13SKY0U+OUTmTiJl8LZE5Y7UEuL3UGoPxPxqeOrQSPgooFOWa9wkjKNO1 cUMw== X-Gm-Message-State: AOAM530VE0pDX7qeTLwSan1xHQyWUJNjni2Iav0tClhw74DXbqVLf8iy YWr+k4gFiiAk1n+ewBj0+A9eVQ== X-Google-Smtp-Source: ABdhPJyHI+1Yvlpmd31L3ZDBKSvBxq6G0vWUksrD5ru6yKskJKPMEzk9RZGar/g8W1PfuU/sTSLQlQ== X-Received: by 2002:a05:6214:b33:: with SMTP id w19mr4271220qvj.50.1627669357244; Fri, 30 Jul 2021 11:22:37 -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 v7sm1309865qkd.41.2021.07.30.11.22.36 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jul 2021 11:22:36 -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> <86bl6j650f.fsf@phe.ftfl.ca> Date: Fri, 30 Jul 2021 15:22:35 -0300 In-Reply-To: <86bl6j650f.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Fri, 30 Jul 2021 15:17:04 -0300") Message-ID: <864kcb64r8.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 Fri, 2021-07-30 at 15:17, 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 Sorry. That should have read with `gnus-verbose' and `gnus-verbose-backends' both set to 10. > 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