From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#46047: 28.0.50; Namazu-based mail searching not working anymore Date: Sat, 23 Jan 2021 14:14:21 -0800 Message-ID: <87v9bn5miq.fsf@ericabrahamsen.net> References: <87pn1wnsv0.fsf@physik.rwth-aachen.de> <878s8j7do6.fsf@ericabrahamsen.net> <875z3ntnl3.fsf@physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 46047@debbugs.gnu.org Cancel-Lock: sha1:S8O8WHr1O6MrPaB1e+jxrMPeg6w= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 23:15:40 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3RBz-000AN3-Oh for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 23:15:39 +0100 Original-Received: from localhost ([::1]:35308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3RBy-0004Sa-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 17:15:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3RBO-0004If-J6 for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 17:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3RBO-0001yL-BH for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 17:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3RBO-000551-6u for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 17:15:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pn1wnsv0.fsf@physik.rwth-aachen.de> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 22:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46047 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161144008019485 (code B ref -1); Sat, 23 Jan 2021 22:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jan 2021 22:14:40 +0000 Original-Received: from localhost ([127.0.0.1]:35519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3RB1-00054C-Fq for submit@debbugs.gnu.org; Sat, 23 Jan 2021 17:14:39 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3RAu-00053y-C2 for submit@debbugs.gnu.org; Sat, 23 Jan 2021 17:14:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3RAt-00049u-Oo for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 17:14:32 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:45804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3RAs-0001jw-4e for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 17:14:31 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l3RAo-0008zp-UG for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 23:14:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198475 Archived-At: Torsten Bronger writes: > Hallöchen! > > Eric Abrahamsen writes: > >> [...] >> >> Thanks for the report. I haven't provided obsolete aliases for all of >> the old nnir--* variables, as that would be quite a pile, but if >> that's annoying to enough people I can. > > Thank you for your quick reaction. FWIW, I don’t care about > reverting. If I find a solution that only works with newest Emacs, > that’s fine. However, this is only me. > >> If you're not planning to revert to an earlier Emacs, it would be >> easiest just to switch to setting >> `gnus-search-namazu-index-directory'. If you are planning to >> revert, you could always set both. Alternately, you could set the >> index directory within the server definition itself, like so: >> >> '((nnml "" (nnir-search-engine namazu >> (nnir-namazu-index-directory "/var/lib/namazu/")))) > > Franky, I don’t understand all this really. I'm driving blindfolded > a bit. Anyway, I put > > (setq gnus-secondary-select-methods > '((nnml "" (nnir-search-engine namazu > (nnir-namazu-index-directory "/var/lib/namazu/"))))) > (setq gnus-search-namazu-index-directory "/var/lib/namazu/") > > in my .gnus. Sorry if I wasn't clear -- I *can* provide backwards-compatible code to handle the above, but I haven't yet. If you don't care about downgrading Emacs, I would use the above, but take off the "nnir-namazu-" prefix, ie just: (index-directory "/var/lib/namazu/") >> [...] >> >> nnselect-run currently downgrades errors to messages (then reports >> no messages found), so if there's really something blowing up, you >> might see it in your *Messages* buffer. > > The *Messages* buffer says: > > nnselect-run: gnus-search-run-query on ((search-query-spec (query . > testquery) (raw)) (search-group-spec (nnml: nnml:KFA))) gave error > (unbound-slot gnus-search-namazu # gnus-search-namazu-157f858a8568> index-directory oref) > Group nnselect:nnselect-87a6sztnu9.fsf contains no messages Perfect, this is the real bug, thank you. I'll get this fixed soon.