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 27173 invoked from network); 13 Dec 2020 10:19:01 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2020 10:19:01 -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 1koOSn-007vnw-9q for ml@inbox.vuxu.org; Sun, 13 Dec 2020 04:18:49 -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 1koOSm-00H3Od-PC for ml@inbox.vuxu.org; Sun, 13 Dec 2020 04:18:48 -0600 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 1koOSk-00H3OV-KO for ding@lists.math.uh.edu; Sun, 13 Dec 2020 04:18:46 -0600 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) (envelope-from ) id 1koOSi-007vni-Ui for ding@lists.math.uh.edu; Sun, 13 Dec 2020 04:18:46 -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=EqID6RXJPbejdkh1iqDW8+/g0PKemZnBH8plO6dYJ0k=; b=T9bZ2BnBHt2aVUH3LLpVkgFELy XMW4YhWRJ2fNYuVd2gP0uLdyF+QRs4xlovkw6WyQXxrtMRz0Sk18WYTolEfFW33dI9JOjQeU8z3ny NmZhViwGJpWZ9WIh6KZjM60NEpylZ4cSZy0VLiFjM5jAfrXzrquZyEuXXwDRe+eTlvXg=; Received: from knopi.disroot.org ([178.21.23.139]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koOSa-0008Ct-Mq for ding@gnus.org; Sun, 13 Dec 2020 11:18:39 +0100 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AA2DF52753; Sun, 13 Dec 2020 11:18:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9Zy-IuIVlLu; Sun, 13 Dec 2020 11:18:33 +0100 (CET) From: yoctocell DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1607854713; bh=NuQmNdf9TVddnQ5y3/D5Ux4d+KVTL81m6fRXDYGsHzk=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=N/i4T8XoUiVA/tArg+MpAq6xZfCJcnu3spRcGCpBpBsfAJAQbolcwRUKK0fI0pIMZ laAcufZMWAGWc5TwvUY6UxGcsyusg/QpEPOSUHVQ+ls7Ez+K64bWuBSfxq9e1KdIea xNlCqTUIxGOVlRXoo7WLoZv7JGBpgrECVWyR1XvfAC1bQSy8Im2lsAVzmUOfzULS+Z C0D4vHuNN0vGPfXTiYjyyN2787VvB8qd+bL18Je9LD4RzF6rkFt8OzOz9rQ/eWj1Wy nRsD1rQAPYgEl3YDxWK04HE4SmWHOeUCFycDJ1+OjBSMtYS4mUV3rupPf860bvY480 TKjqjOHg81MLQ== To: yoctocell Cc: Eric Abrahamsen , 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> Date: Sun, 13 Dec 2020 11:18:31 +0100 In-Reply-To: <86a6ukkc9h.fsf@yoctocell.xyz> (yoctocell@disroot.org's message of "Fri, 11 Dec 2020 08:55:22 +0100") Message-ID: <86360a57rc.fsf@yoctocell.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-ID: Precedence: bulk --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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! =2D-=20 yoctocell PGP fingerprint: 9DDD 8877 BC0C A9CE 5D8F 9ED6 0F9A 432E 305F DAFF --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEEu0DR+sjYma7Bzt5qiPU2clymHusFAl/V6ncWHHlvY3RvY2Vs bEBkaXNyb290Lm9yZwAKCRCI9TZyXKYe68xWEACsagcbUZ/nNXQFqQk1Dd9mmUeW 1EaAu84ElDd3pmo369MnOXP2qqUS/UqoZNTzetcLER3Eq6BlD+VCzQbS86yIA/1U kxqM4tXbizbLcAmutQ/xo3116U9NgKInRQUDxyxTszOfkIyMxRn8F8S0i9ayIhwi eONZIeWK+AISze+xy/6+BbxCrj68ZsEn+UuHyNp6Eif30WKuz4V9bgOgRMRoY4pJ BVjqENIxC580AsDFtCJ5+pfrA8vZTkn/Im1vCg7ZyA7eWxoY+YLjYfLQq7V+VRz1 FmnLC9J04bxzdkKqv/PzLp5arusjIxcZfIc2s834qWCZOHlIIMleH/nrIYFBgCtr RnxW09htinQ4pBXQij7RJlFmNetr8ABRuja7WO/daca+ulzzY4NAvMzMgu+BqLhw XFCaCbmk0gOH6lOfqjvM1/CezvIcMMYJSIz1ZhUvkqRorwjS5+8+fSWSyEbUD50c dCXUxXRgzAdbj3iVMQChjSKLfSJxVGfnTOPy6eHuOdN9NdzmymgNQKu4lv0PERe+ VmP/p0Sy20z6Kv7VfhosH+/VjxL38tEQR9GOi8YQYY2bbZKohUIjJEnX9pGg7mf8 5N81RZj1JBmI7iJEZvx5ZIK94aXgjtwcAw7n9kRlZNPBidfCAinEO3bw6mD0Zllv 8otwOlW/5NvgsBr91A== =NmXd -----END PGP SIGNATURE----- --=-=-=--