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 6073 invoked from network); 13 Dec 2020 16:49:24 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2020 16:49:24 -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) (envelope-from ) id 1koUYk-0086jA-1t for ml@inbox.vuxu.org; Sun, 13 Dec 2020 10:49:22 -0600 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 1koUYj-00H6oN-Gb for ml@inbox.vuxu.org; Sun, 13 Dec 2020 10:49:21 -0600 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 1koUYh-00H6oA-CL for ding@lists.math.uh.edu; Sun, 13 Dec 2020 10:49:19 -0600 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 1koUYf-00EFxv-M7 for ding@lists.math.uh.edu; Sun, 13 Dec 2020 10:49:18 -0600 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=y6EpYrVD9gYlLkh6/qwXaCeKh+dPHhQo9RpedOkaooQ=; b=r1yQsJJU7JWKRNZ1Eo48/NrXq5 Sd8CUVGbPXvquZ2mgQCt9M3nvkXaiMJF9aJOQjcyy61DZgAg0+wxCkcPUB+kILQx4eLVC5xSIHgNf CbHtbRMG4FEcHSZlaK1roGImaCHy9bvF5U1KP8/iLK6sJmCtMjY2+CQASVTCluHKrj98=; Received: from ericabrahamsen.net ([52.70.2.18] helo=mail.ericabrahamsen.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koUYU-0008Dw-Iz for ding@gnus.org; Sun, 13 Dec 2020 17:49:12 +0100 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 20728FA08F; Sun, 13 Dec 2020 16:49:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1607878144; bh=y6EpYrVD9gYlLkh6/qwXaCeKh+dPHhQo9RpedOkaooQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AeuVPlL3YbGvXD0FEY3xJ9FqYFINUb6Sb8x9Nq1Sx8oJRzTXSRaldKrE+ylY6dD5O 50lh0WZCYcUszEMvhOXWNWZjyixPvZsUqczjxm4ls7ddbCWbGfRpSBZu9rRufIQ3aC tPNOix6K2kLqUkzHz+6Aoks+GfvJDzPnzVxYO8Dk= From: Eric Abrahamsen To: yoctocell Cc: ding@gnus.org Subject: Re: New "gnus-search" syntax and interface References: <87blgdavsb.fsf@ericabrahamsen.net> <86eekrrpfd.fsf@disroot.org> <87wnyixu87.fsf@ericabrahamsen.net> <86o8jp7dnx.fsf@disroot.org> <87eekltkt2.fsf@ericabrahamsen.net> <86lfel9z1b.fsf@yoctocell.xyz> <87sg8rsbij.fsf@ericabrahamsen.net> <86r1ob1coa.fsf@yoctocell.xyz> <87blfesqfx.fsf@ericabrahamsen.net> <86o8jege72.fsf@yoctocell.xyz> <87eek9lzp0.fsf@ericabrahamsen.net> <86zh2wznfg.fsf@yoctocell.xyz> <87a6ulglyu.fsf@ericabrahamsen.net> <86a6ukkc9h.fsf@yoctocell.xyz> <86360a57rc.fsf@yoctocell.xyz> <86tusq3q6b.fsf@yoctocell.xyz> Date: Sun, 13 Dec 2020 08:49:02 -0800 In-Reply-To: <86tusq3q6b.fsf@yoctocell.xyz> (yoctocell's message of "Sun, 13 Dec 2020 12:23:40 +0100") Message-ID: <874kkpejnl.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 yoctocell writes: > On 13 December 2020 11:18, yoctocell wrote: > >> Okay, after reading some source code I managed to get it to work by >> searching for the query 'to:yoctocell@disroot.org git' and not just >> 'git'. But for some reason searching doesn't work with my other account, >> which was why I had to specify the to address in the notmuch query. >> >> I modified the `nnselec-compress-artlist' function and put a print >> statement in it. >> >> ;;; Helper routines. >> (defun nnselect-compress-artlist (artlist) >> "Compress ARTLIST." >> (let (selection) >> (pcase-dolist (`(,artgroup . ,arts) >> (nnselect-categorize artlist 'nnselect-artitem-group)) >> (let (list) >> (pcase-dolist (`(,rsv . ,articles) >> (nnselect-categorize >> arts 'nnselect-artitem-rsv 'nnselect-artitem-number)) >> (print articles) ; print here >> (push (cons rsv (gnus-compress-sequence (sort articles '<))) >> list)) >> (push (cons artgroup list) selection))) >> selection)) >> >> When querying for 'to:yoctocell@disroot.org' it outputs a list of >> arbitrary number, but for my other account it ouputs a list of nils >> which is why the '< function gives an error. >> >> It seems to be some misconfiguration on my end so I will see if I can >> fix it. >> >> Thanks for helping me debug the problem! > > Never mind, I actually got searching to work on my other account, but > then it doesn't work for yoctocell@disroot.org. Seems like it can't > handle multiple accounts for some reason. Ah, it's possible that some search engine caching I put in there is misbehaving. What are the types and labels of your two accounts? And after you've tried searching both, what is the value of `gnus-search-engine-instance-alist'? It's possible that they are shadowing each other in that alist. Eric