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 2108 invoked from network); 13 Dec 2020 11:24:02 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2020 11:24:02 -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 1koPTs-007wC8-Ty for ml@inbox.vuxu.org; Sun, 13 Dec 2020 05:24:00 -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 1koPTs-00H3zN-Da for ml@inbox.vuxu.org; Sun, 13 Dec 2020 05:24:00 -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 1koPTq-00H3zF-9D for ding@lists.math.uh.edu; Sun, 13 Dec 2020 05:23:58 -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 1koPTo-007wBs-Lh for ding@lists.math.uh.edu; Sun, 13 Dec 2020 05:23:57 -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=5+pa2P8QK0K1dF9PRcwe53v/3P1XpxfMBnt6e0A/iNo=; b=mjSJhOvND85QYnuzSvv+OoVNP7 SecRC7cXh5acwY03CEms8nlDn/zO2cp4CsM0rb7vGkZv6CHtwUJT3p5aoLPGDcwNh2xdv8hs4etu/ SOCnS2LuJNcXxdUtA7nZD0O+ke5vKvCTS3joZzEtekzNcLsnRTMbiqMiwv1ZvQvYRgHo=; 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 1koPTg-0002uJ-VA for ding@gnus.org; Sun, 13 Dec 2020 12:23:51 +0100 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 23D6D5243D; Sun, 13 Dec 2020 12:23:43 +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 ukgH9Y2lwKY3; Sun, 13 Dec 2020 12:23:42 +0100 (CET) From: yoctocell DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1607858621; bh=0irajj5wxX8HRHxoEUD5KxnvBb6A0//WACDFce9q9jY=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=B+M7boihQuLcaDLrQTdpyctGrpAlqpibK8y2nNqJQtNgfljCWuqGNHtL6A5w7jh3l ucFCoSouAv+Ye+j0JAfHUto3XDLdAjdPPw3B0YXwDd93CbwkvBb8InfpU/WikLZt6/ cQrwQx+GD4hIP31aMk8dh5si42EcfwC2aDHP5lShOO5bSC4n3mNtEors55FPPl6p3e TMatST1PR+PEyuxU2uwkf29d4jjsFvGEZaa72He8xohptQGa9+MylDiQI/YB3bHxpj M35L1JyUG8FekL0NY02OFypzUiNUHia669J8INJpe3ZD+/pgZ0wHgVezoj3K59Lgtx nAFXSFWun9ZNw== 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> <86360a57rc.fsf@yoctocell.xyz> Date: Sun, 13 Dec 2020 12:23:40 +0100 In-Reply-To: <86360a57rc.fsf@yoctocell.xyz> (yoctocell@disroot.org's message of "Sun, 13 Dec 2020 11:18:31 +0100") Message-ID: <86tusq3q6b.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 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-numb= er)) > (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. =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/V+bwWHHlvY3RvY2Vs bEBkaXNyb290Lm9yZwAKCRCI9TZyXKYe65V+D/9A67cnAcaQ6DDKM9gJJTGXxjaI 5W77Ng9zrByO7GsXKqZWxmhEJZKWlk87XUjDViIhwpK/2XZir+WTUL8nqlfQOE0p 3EKQqsldWYwTdIyRG8Hl6uFanuzKszgIWkO9N1hzQW2+1jD5PSGRMflt9y9vnl40 ThMFDiGKrI7d9juNP0l73iIwulLyTNRX5S12xVDzzs9HZQSDhU7kIcnykeVhtaVT Ed9tcQV8tY9UekpIdQ/9HnIRfY3MC36u+yE04khKiL56xo7TzSiY4OnZzc5rwqRN Hed+3k34lbklbTposPVBnrc2g40f9WO4FlU9w8D4H+Z+4afi6Fly+qfCjPJvA6Jp fMmMfORAPkZ8ZJR5iMEopqSmEh2uvXZmuXIAes7oeg6290nKc6xAD+khdYTvsfbP 8sEWiJObuh5rfUTPz5bEZ8sSMKufF/x7R3/U/arqLYIzy2IM1MifE50EZBdSX09a 6hQxbqwALuZTeayfJjFAXAZPM6x1cOnb9K0hxPBF12NlfqMtvEJok7o9nXIIu6kP w0AMMLY51t8EMrvuLSuHK1ivJwP4Zojvw+1KqOObffO2Li1zQGBEDEATz5d9pby7 M7YB70JAlY6pS23YJ0EGOTsfZShXLFhL5721200Z/2fMN0DWv9X/jyJU8krzWlmT rJOPHqoziRM5v5SVxw== =sknU -----END PGP SIGNATURE----- --=-=-=--