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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9527 invoked from network); 8 Jul 2021 18:08:44 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 8 Jul 2021 18:08:44 -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 1m1YS2-00HXdO-1U for ml@inbox.vuxu.org; Thu, 08 Jul 2021 13:08:42 -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 1m1YS0-007fpI-Sd for ml@inbox.vuxu.org; Thu, 08 Jul 2021 13:08:40 -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 1m1YRx-007fom-GV for ding@lists.math.uh.edu; Thu, 08 Jul 2021 13:08:37 -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 1m1YRt-00FQH6-Kq for ding@lists.math.uh.edu; Thu, 08 Jul 2021 13:08:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc: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=ZHYSk1eSGm2Km08g45o4ABgG1gZJK+SSs8kqwg5XW1c=; b=WDv4cDF2+NR5GUVUJZVUV8u9Qt IY67cDevQcCQV1AYzZv2DgK8X5HWOkIt71f6xo+LCcsM+5ud2sTReRCSd/8u0ILU4M9TzmnlYAH35 n1LIy23KVHwkYJ0Ae5Y6r/XMIhZB7LWM2v33XaQti5CEFlfaB4IAD4Wj/yEqIdLlhlc0=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1YRd-0005Km-Ap for ding@gnus.org; Thu, 08 Jul 2021 20:08:24 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1m1YRR-0006Gm-PL for ding@gnus.org; Thu, 08 Jul 2021 20:08:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: "Jose A. Ortega Ruiz" Subject: Re: is it possible to search by list-id? Date: Thu, 08 Jul 2021 18:59:40 +0100 Message-ID: <87eec8it4j.fsf@gnus.jao.io> References: <875yxllhkr.fsf@gnus.jao.io> <87a6mxlzen.fsf@ucl.ac.uk> <87sg0oj38s.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:vi2MFb1MdG+0KJHxEx40gH+sy9I= X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: List-ID: Precedence: bulk On Thu, Jul 08 2021, Jose A. Ortega Ruiz wrote: > On Thu, Jul 08 2021, Eric S Fraga wrote: > >> On Thursday, 8 Jul 2021 at 02:28, Jose A. Ortega Ruiz wrote: >>> in the new gnus search, we're told in the docs that 'Supported keys >>> include all the usual mail headers: “from”, “subject”, “cc”, etc', but, >>> if i'm not mistaken, that "etc" does not include List-id, does it? >> >> Doesn't seem to. Would be nice to have, however. > > Right. Moreover, a query including List-ID is not even send to the > underlying engine (which could perhaps make something of it), because it > throws an exeception... for instance, this is what i see for the query > "List-ID: foo" for some nnimap groups (which i have elided): > > nnselect-run: gnus-search-run-query on ((search-query-spec (query . "List-ID: foo") (raw)) (search-group-spec ...)) gave error (wrong-type-argument stringp nil) > > which looks as if the query parser gets confused. as a matter of fact, it's a bug very easy to reproduce: just evaluate, for instance: (gnus-search-parse-query "foo:bar")