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=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4901 invoked from network); 5 Nov 2020 02:20:13 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 5 Nov 2020 02:20:13 -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 1kaUsj-00ECkO-OR for ml@inbox.vuxu.org; Wed, 04 Nov 2020 20:20:09 -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 1kaUsj-008wY0-8E for ml@inbox.vuxu.org; Wed, 04 Nov 2020 20:20:09 -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 1kaUsh-008wXs-51 for ding@lists.math.uh.edu; Wed, 04 Nov 2020 20:20:07 -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 1kaUsf-00ECk1-EX for ding@lists.math.uh.edu; Wed, 04 Nov 2020 20:20:06 -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:To:From:Sender:Reply-To:Cc: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=Txj8K0vpyt/C5NuWGwKwPr1OypTUZRlQWU7yx6PIiWM=; b=cbwd7vDsiZ3ByYui8vbOhoBtn2 WIgW19aFLsKUJyPOGG+hcZxcSMZ8nKAHfkdSJTEwM1ZQ/W6W798Fmb7wd2MLQoGxY+UrK/vhajy7+ 0zjB5yejnr5efKTOW+LHckFIMiaRqZcZT04bL3cYtwO4+gmK27uGimGvXYkp+i/OolyI=; 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 1kaUsY-0004OY-38 for ding@gnus.org; Thu, 05 Nov 2020 03:20:00 +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 58878FA086 for ; Thu, 5 Nov 2020 02:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1604542794; bh=Txj8K0vpyt/C5NuWGwKwPr1OypTUZRlQWU7yx6PIiWM=; h=From:To:Subject:References:Date:In-Reply-To:From; b=tg1+xLPOIe0KnRUbNZ6nKGXMnR/YsviycUbhd9Rd/axJzDYh5OdnYm7Vam+G35nSd rSxuCXkBzUJhFgPKxztpMo7cG2jH9atfuiVtpAJmfTugXpcjbcgtxSTGLKuuf0Q8/9 fz3SL8JKL1uLbH2x/at3OdiCPx0hI8C5jvzMEC3I= From: Eric Abrahamsen To: ding@gnus.org Subject: Re: New "gnus-search" syntax and interface References: <87blgdavsb.fsf@ericabrahamsen.net> Date: Wed, 04 Nov 2020 18:19:51 -0800 In-Reply-To: <87blgdavsb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 04 Nov 2020 09:15:00 -0800") Message-ID: <87y2jg8rzs.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 Eric Abrahamsen writes: > [Resending via ding as the newsgroup seems to be unresponsive] > > Hi all, > > For those of you on Emacs master, I just pushed the gnus-search.el > library, which I've been sitting on for a while. It obsoletes nnir.el > (while borrowing some of its code), and uses nnselect to display search > results. > > Under default settings, it should do nothing at all, and searches should > behave exactly as before. The nnir.el library has been moved to > lisp/obsolete, so code that requires it should not break, but it is no > longer needed. > > If anything breaks for anyone out of the box (though it shouldn't), > please let me know right away! Of course, a day after I push this (and after a couple of years of poking at this library), I realized that there is a backwards-incompatible change in behavior, even if you don't turn query parsing on. nnir had `nnir-imap-default-search-key', which let you set a default search key (like "body" or "subject"). If you wanted to use a different key you had to give a prefix argument to the search command. Or you could set that option to "imap" and explicitly enter the search keys. The prefix argument now toggles "raw" searches vs parsed, and raw searches of imap groups always behave as with the "imap" value above. Ie, you can no longer specify a single default search key. I've added an obsoletion note to this effect, but it could still be surprising for people who were using that feature. If it bothers anyone, please tell me and I'll think of a way to get the behavior back in there. Eric