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.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2131 invoked from network); 30 Jan 2023 18:47:04 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 30 Jan 2023 18:47:04 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMZB1-0001Jp-Lt; Mon, 30 Jan 2023 13:46:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMZAz-0001IY-0r for info-gnus-english@gnu.org; Mon, 30 Jan 2023 13:46:45 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMZAx-0006ck-KS for info-gnus-english@gnu.org; Mon, 30 Jan 2023 13:46:44 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pMZAv-0004Ff-1U for info-gnus-english@gnu.org; Mon, 30 Jan 2023 19:46:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Eric Abrahamsen Subject: Re: wrong gnus-search in nnml folder Date: Mon, 30 Jan 2023 10:46:59 -0800 Message-ID: <87k013oo64.fsf@ericabrahamsen.net> References: <877cx46yr2.fsf@gmail.com> <871qnbx6eu.fsf@ericabrahamsen.net> <87sffr6g9o.fsf@gmail.com> <87o7qf6fp6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:0cjO8Les5ao415TUAWEk3qP/4c8= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Angel de Vicente writes: >>> You haven't said what search engine you're using, but if it's notmuch: >> >> it is ages since I configured this, but I'm not using notmuch, it is >> just whatever stock method comes with Gnus, *I think* > > should be mairix. > > my gnus-search-default-engines variable' value is: > > ,---- > | ((nnimap . gnus-search-imap) > | (nnml . gnus-search-mairix)) > `---- So that's: (gnus-search-transform (make-instance 'gnus-search-mairix) (gnus-search-parse-query "since:3d")) -> "d:20230127-" As I read the spec, that's the correct format (actually, mairix could also handle the "3d" directly, but there's currently no option to pass the unparsed search string through). Can you check on the command line, outside of Gnus, and confirm that you see the correct messages returned? You can also edebug `gnus-search-run-search' for the `gnus-search-indexed' engine (gnus-search.el:1394 in master), and see if anything funky is happening in there.