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 32536 invoked from network); 26 Jun 2021 03:48:50 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2021 03:48:50 -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 1lwzJJ-008dcD-Nu for ml@inbox.vuxu.org; Fri, 25 Jun 2021 22:48:49 -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 1lwzJJ-0058vB-5v for ml@inbox.vuxu.org; Fri, 25 Jun 2021 22:48:49 -0500 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 1lwzJI-0058v5-3v for ding@lists.math.uh.edu; Fri, 25 Jun 2021 22:48:48 -0500 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 1lwzJG-008dbw-9K for ding@lists.math.uh.edu; Fri, 25 Jun 2021 22:48:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding: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=dnTOZMo6tqGUAneLQZUg+iUblXnzmOfmqgHQPyMz72o=; b=A43XsTX207CS5M4Jb+96xx/z5h hdZprxDL5BysWdD4Z6m3bblrikPZG3EsTYZ1vz6jL4vWLpgMANsIPbgpbTfWy11p4jj2GxpplrWhK FzBPx0jCGEnWbPknYTx7D0gWmeSOuMWRruBIacf/v7QWCXNqq4LTJwLr34tKlDd4PkH0=; 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 1lwzJ7-0005LA-Rq for ding@gnus.org; Sat, 26 Jun 2021 05:48:41 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lwzJ7-0001l9-8B for ding@gnus.org; Sat, 26 Jun 2021 05:48:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: emacs 28 search not working with nnml Date: Fri, 25 Jun 2021 20:48:29 -0700 Message-ID: <877dihmgky.fsf@ericabrahamsen.net> References: <87bl7wzqpf.fsf@ku.dk> <87mtrgd6zw.fsf@ucl.ac.uk> <87mtrg39r8.fsf@ericabrahamsen.net> <87h7hn3jf6.fsf@ku.dk> <87v9631e6c.fsf@ericabrahamsen.net> <87fsx79iqs.fsf@ku.dk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:vHJ9t9aw6SO2WHMaPqwpy2lPdYk= List-ID: Precedence: bulk Thomas Alexander Gerds writes: > Eric Abrahamsen writes: > >> Thomas Alexander Gerds writes: >> >>> Eric(1): thank you so much, this helped and solved my problem! >>> Eric(2): you are right: the hack is not needed and my search functions work >>> smoothly without it. not sure what remaining bug there might >>> be, >> >> The remaining bug is subtler: if you search a group whose name is a >> substring of a different group, the code will also attempt to return >> results from that other group, which will fail. > > aah. haha, and I thought it was a neat feature that in addition to > nnml:research the search was also applied to nnml:research.old No, sorry, that's a bug :) But you can certainly use a mark-by-regexp command to mark all your "*research*" groups and then search them at once! Only fourteen more keystrokes. >> >>> but you may want to consider to change the default value here for >>> people like me who use "mail" instead of "Mail": >> >> Wait, which default value are you referring to here? `gnus-directory'? > > no the default value of gnus-search-notmuch-remove-prefix. I have > forgotten if there also is a variable that has a default value equal to > "~/Mail". it seems that gnus-directory defaults to "~/News". Oh, I see. That's just the way that's always been, it's not something I set. It's hard to imagine any default value that would actually be of use -- I imagine everyone's got something slightly different.