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 1810 invoked from network); 25 Jul 2021 22:11:49 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 25 Jul 2021 22:11:49 -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 1m7mLa-001BvI-Vi for ml@inbox.vuxu.org; Sun, 25 Jul 2021 17:11:47 -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 1m7mLa-00B9cl-BV for ml@inbox.vuxu.org; Sun, 25 Jul 2021 17:11:46 -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 1m7mLY-00B9cb-0s for ding@lists.math.uh.edu; Sun, 25 Jul 2021 17:11:44 -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 1m7mLT-001Buw-Fn for ding@lists.math.uh.edu; Sun, 25 Jul 2021 17:11:43 -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=uTvwJm8CfXRDv9SMxC6xRzS/N3A2/7gchu/LGJcSqyE=; b=BXhvzT01p/IPegsi97CCYciFFp 6hRePsMoe1AxPNJ1hOBm+21dQ8pnwyizG87XBlomS2TTAVOoBAMwJZBPuZZMVzJCvDR3u0bChm4Db Di3Wxa2ycAVMVjSKoRLfEraXm4sJFBBTxvhiTX2xe0gZP5Tt8s0c3M7KdzTKs1xZaQxA=; 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 1m7mLJ-0005g6-O6 for ding@gnus.org; Mon, 26 Jul 2021 00:11:33 +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 6D90DFA0A0; Sun, 25 Jul 2021 22:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1627251087; bh=uTvwJm8CfXRDv9SMxC6xRzS/N3A2/7gchu/LGJcSqyE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=egYysfehXNVLLsvH5BDWEAzhN6UECRd4E2gjz5bu+R+uy2JdBd/n0+y3qbdNYmIF8 O0l0+A8Sw10yVmWa+XRkm9+hyibaT7owfxVfMdSP1jfDiTuC48MNXK0vVnGkrDqRoH 8upSNMv40qcbGLM0r4jXN3hJM1KBRLg4l55i7fgQ= From: Eric Abrahamsen To: Alexandr Vityazev Cc: 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> Date: Sun, 25 Jul 2021 15:11:25 -0700 In-Reply-To: <87fsw21w3k.fsf@posteo.org> (Alexandr Vityazev's message of "Sun, 25 Jul 2021 11:17:19 +0000") Message-ID: <874kci9h82.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 On 07/25/21 11:17 AM, 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. Wonderful, thank you very much for doing that. That code was added in to fix a different bug, and I think we're just playing the usual "is the group prefixed or not" game. I need to more thoroughly test the primary/secondary select method cases, but at least we know what the issue is -- thanks again for your debugging! Eric