GNU bug report logs - #46047
28.0.50; Namazu-based mail searching not working anymore

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Sat, 23 Jan 2021 05:09:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#46047: 28.0.50;
 Namazu-based mail searching not working anymore
Date: Mon, 25 Jan 2021 11:10:32 +0100
[Message part 1 (text/plain, inline)]
Hallöchen!

Eric Abrahamsen writes:

> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:
>>
>>> Hallöchen!
>>>
>>> [...]
>>>
>>> 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/")

This has no effect on how Namazu is called on my machine.  Only
gnus-search-namazu-index-directory set the directory parameter of
the Namazu call correctly.

> [...]

I have now

(setq gnus-secondary-select-methods
      '((nnml "" (nnir-search-engine namazu))))
(setq gnus-search-namazu-index-directory "/var/lib/namazu/")

in my .gnus, and with current Git Emacs, Namazu is correctly called!
But it only works if no search results are found.  Otherwise,
*Messages* contains:

nnselect-run: gnus-search-run-query on ((search-query-spec (query . myquerystring) (raw)) (search-group-spec (nnml: nnml:Somegroup))) gave error (wrong-type-argument stringp nil)
Group nnselect:nnselect-877do1l461.fsf contains no messages

I have attached a shell script that you can use as a drop-in
replacement for namazu proper for easy generation of search results
that trigger this error for me.

Regards,
Torsten.


[namazu (application/x-sh, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Torsten Bronger
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 4 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.