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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,NICE_REPLY_C,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8843 invoked from network); 5 Aug 2021 20:20:19 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 5 Aug 2021 20:20:19 -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 1mBjqi-009jF9-UT for ml@inbox.vuxu.org; Thu, 05 Aug 2021 15:20:17 -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 1mBjqi-00DNQn-B8 for ml@inbox.vuxu.org; Thu, 05 Aug 2021 15:20:16 -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 1mBjqh-00DNQh-0P for ding@lists.math.uh.edu; Thu, 05 Aug 2021 15:20:15 -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 1mBjqe-00HRoY-BQ for ding@lists.math.uh.edu; Thu, 05 Aug 2021 15:20:14 -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: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:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xYzi2B6zrP6eRPPiGDHQZ6KcCt1n1119qnYsUPFr800=; b=dz85AiFPLprO3HneojzYEPUN71 EEAErxcFp370Y3rQ753KcP21zsDKxMI2wJRJ1IeIBI79ND1nChHeYa5ZABIbv5Gc/BslzjpILPtIf I4uTgHtG0R1kGPCgYdyMj/HdkQOtlc1K3A0IPBbhwOrz0k9p1bYGnTQ94bwj1LfQ9iu0=; Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mBjqW-0000rz-Nj for ding@gnus.org; Thu, 05 Aug 2021 22:20:07 +0200 Received: by mail-qk1-x732.google.com with SMTP id t68so7624536qkf.8 for ; Thu, 05 Aug 2021 13:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=xYzi2B6zrP6eRPPiGDHQZ6KcCt1n1119qnYsUPFr800=; b=aujjKSVCkSL/vDFSbE6NJyELuf6v/BdTVo7XZeK+UrTYbhgXrAoZaZkTMHTujrmoWj ObHnPdgGP0/wtKVii9TZRvhzgmgqfnzFjxl7IzrAnluhWy8aUHfhhL/jbbv2v0m1hEkM lzZj2kYp7+urZNsY5Bpq9PxL/T/72rizdnUD0= 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:message-id :user-agent:mime-version; bh=xYzi2B6zrP6eRPPiGDHQZ6KcCt1n1119qnYsUPFr800=; b=Ee1p8ADWJb+yRDfH/LhaEFPIffCL0JwIWVprMQ6p1ml0gaLl80csMw1/A0dRiZ/Mo6 tf2pf9TgCB+7X317Zghv33Fe5/gaw/oESDXbnpdUrn6GepaM9TZoQkAc92eK7byp5vGy iZvz30oeIPRPzh2NVE+tgZ8qI2K98McrZQOe84BmRoOAG+i7oVWd+OASO1gPvcc7wuL9 gk6sWG+V7k0wQxS4WVMFRMEPgh7Qydng2u+Z1si535CTS9B7E5fqk8d/D+yQO1X1H0Y3 XwQujXw2Hh3dOaSPu8oNd1X6LsGLsT9lm2SP9UyvOxaS5vsP6DQ3mInFG9PwafmYzaMc PKFQ== X-Gm-Message-State: AOAM533Tzrv8Zy9lVVr+h8zZfaQdzv5kx2tN7x9w51/VUruyP81kjii6 zXCTwPhmd1oZE+BjTqI+txgzQ35YRprh5Q== X-Google-Smtp-Source: ABdhPJwsODVuT+RYJlk/06xoxAMcllkicWR1q3m77Q+ul4Xyn1oR5Ixl7An6UlHBuDN8+JSenHLBJA== X-Received: by 2002:a37:9b53:: with SMTP id d80mr4346492qke.209.1628194802230; Thu, 05 Aug 2021 13:20:02 -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 h14sm2461707qth.69.2021.08.05.13.20.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Aug 2021 13:20:01 -0700 (PDT) From: Joseph Mingrone To: Alexandr Vityazev Cc: Eric Abrahamsen , 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> <87lf5ntupj.fsf@ericabrahamsen.net> <87pmur4xuk.fsf@ericabrahamsen.net> <87a6lvu0oo.fsf@posteo.org> Date: Thu, 05 Aug 2021 17:19:59 -0300 Message-ID: <868s1fwsnk.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 Thu, 2021-08-05 at 19:54, Alexandr Vityazev wrote: > On 2021-08-05, 10:15 -0700, Eric Abrahamsen wrote: >> Eric Abrahamsen writes: >> [...] >>> 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. >> Okay, I think I've finally got it. The incoming group names are indeed >> prefixed or not depending on whether the server is primary or not >> (arguably this should be fixed to always unprefixed in nnselect, but >> I'll worry about that later), so this patch enforces unprefixed group >> names within the function body, and prefixed group names in the return >> value. Please give it a shot! >> Eric > The patch was applied to the master branch and it doesn't work for me. > In my case because of line 1388 with the code: > #+begin_src elisp > (setq group (gnus-group-full-name group server)) > #+end_src > code on 1395 line: > #+begin_src elisp > (nnmaildir-base-name-to-article-number > (substring article 0 (string-match ":" article)) > group (string-remove-prefix "nnmaildir:" server)) > #+end_src > always return nil, because the group on line 1397 always gets something > like "nnmaildir+gmail:Inbox" and not "Inbox". > And in the code on 1400 line: > #+begin_src elisp > (member group groups) > #+end_src > also requires the group similar to "Inbox", so it can only be solved by > deleting line 1388: > #+begin_src elisp > (setq group (gnus-group-full-name group server)) > #+end_src I see the same as you Alexandr, i.e., with the patch applied to a recent commit from the master branch, still no search results, but after removing line 1388, results are returned. Thanks both, Joe