[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46047: 28.0.50; Namazu-based mail searching not working anymore
From: |
Torsten Bronger |
Subject: |
bug#46047: 28.0.50; Namazu-based mail searching not working anymore |
Date: |
Mon, 25 Jan 2021 11:10:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hallöchen!
Eric Abrahamsen writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Torsten Bronger <bronger@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
Description: Bourne shell script
--
Torsten Bronger
smime.p7s
Description: S/MIME cryptographic signature