unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Torsten Bronger <bronger@physik.rwth-aachen.de>
To: 46047@debbugs.gnu.org
Subject: bug#46047: 28.0.50; Namazu-based mail searching not working anymore
Date: Mon, 25 Jan 2021 11:10:32 +0100	[thread overview]
Message-ID: <87zh0xjpif.fsf@physik.rwth-aachen.de> (raw)
In-Reply-To: <87pn1wnsv0.fsf@physik.rwth-aachen.de>


[-- Attachment #1.1: Type: text/plain, Size: 1800 bytes --]

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.



[-- Attachment #1.2: namazu --]
[-- Type: application/x-sh, Size: 495 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 24 bytes --]


-- 
Torsten Bronger

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4913 bytes --]

  reply	other threads:[~2021-01-25 10:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-23  5:07 bug#46047: 28.0.50; Namazu-based mail searching not working anymore Torsten Bronger
2021-01-23 17:42 ` Eric Abrahamsen
2021-01-23 20:17   ` Torsten Bronger
2021-01-23 22:14     ` Eric Abrahamsen
2021-01-23 22:26       ` Eric Abrahamsen
2021-01-25 10:10         ` Torsten Bronger [this message]
2021-02-07 22:02           ` Eric Abrahamsen
2021-02-12 13:53             ` Torsten Bronger
2021-02-12 15:25               ` Torsten Bronger
2021-04-21  3:19                 ` Stefan Kangas
2021-05-09 14:21                   ` Torsten Bronger
2021-05-12 18:18                     ` Eric Abrahamsen
2021-05-16 17:24                     ` Eric Abrahamsen
2021-05-16 19:43                       ` Torsten Bronger
2021-05-16 22:11                         ` Eric Abrahamsen
2021-05-17  6:02                           ` Torsten Bronger
2021-05-17 18:53                             ` Eric Abrahamsen
2021-05-18  8:46                               ` Torsten Bronger
2021-05-18  9:08                                 ` Eli Zaretskii
2021-05-18 16:50                                   ` Eric Abrahamsen
2021-05-18 16:55                                     ` Eli Zaretskii
2021-05-21 17:47                                       ` Eric Abrahamsen
2021-05-21 19:10                                         ` Torsten Bronger
2021-05-21 20:38                                           ` Eric Abrahamsen
2021-01-23 22:30       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh0xjpif.fsf@physik.rwth-aachen.de \
    --to=bronger@physik.rwth-aachen.de \
    --cc=46047@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).