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 09:42:33 -0800 Message-ID: <878s8j7do6.fsf@ericabrahamsen.net> References: <87pn1wnsv0.fsf@physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15246"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46047@debbugs.gnu.org To: Torsten Bronger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 18:43:15 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 1l3MwL-0003oh-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 18:43:14 +0100 Original-Received: from localhost ([::1]:59946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3MwK-0005vw-E4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 12:43:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3MwA-0005vm-6n for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:43:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3Mw9-00055v-TR for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3Mw9-0002eX-Rc for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46047 X-GNU-PR-Package: emacs Original-Received: via spool by 46047-submit@debbugs.gnu.org id=B46047.161142376510171 (code B ref 46047); Sat, 23 Jan 2021 17:43:01 +0000 Original-Received: (at 46047) by debbugs.gnu.org; 23 Jan 2021 17:42:45 +0000 Original-Received: from localhost ([127.0.0.1]:35200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Mvs-0002dz-Tq for submit@debbugs.gnu.org; Sat, 23 Jan 2021 12:42:45 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:56208 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Mvq-0002dj-5I for 46047@debbugs.gnu.org; Sat, 23 Jan 2021 12:42:43 -0500 Original-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 7D7A2FA202; Sat, 23 Jan 2021 17:42:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1611423755; bh=2MpeezRV5W6eTNpLxxlhCUpFY7nhtsA5Utz+nR5eoZU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=D3j0f5MYuBzCyEEpbfbd9pmthf7A/WBWnbhcYpM8hZFCYvFHEhlD72RtzTr/HW+yo Osh34XygUUaO+sUp39lw+AaKnH+r2p/XAqYdlWukRcezfxJaIRtbRTC6dZreD6Idwr Iv11oEFx5pPeV2G3wpEg2qaa/MPbXi1eSgaJiIQc= In-Reply-To: <87pn1wnsv0.fsf@physik.rwth-aachen.de> (Torsten Bronger's message of "Sat, 23 Jan 2021 06:07:47 +0100") 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:198440 Archived-At: Torsten Bronger writes: > Since commit 7fad12c59b3c65665c10050e800d1d7ad5a2e056, I have > problems getting namazu-based mail searching working. My > configuration says: > > In .emacs: > > (setq nnir-namazu-index-directory "/var/lib/namazu/") > > In .gnus: > > (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu= )))) > ;; I have not set gnus-search-use-parsed-queries. > > This results in "Group nnselect:nnselect-87sg78bdzr.fsf contains no > messages" error when I hit "G G" in the group buffer and enter a query > string. Besides, the namazu executable is not called at all. The same > behavour I get if I don=E2=80=99t configure namazu at all in Emacs/Gnus. 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. 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/")))) I haven't yet added backwards compatibility code to honor that server parameter, but I could do so fairly easily, then this config would be past-and-future proof. It's a little suspicious that the namazu program isn't getting called at all, though. The code essentially just calls: (start-process "name" "namazu") If "namazu" is on your path, it should be found. Would you try setting the newer index-directory variable, just to eliminate that as a source of error? 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. Eric