unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jao <jao@gnu.org>
To: "Eric Abrahamsen" <eric@ericabrahamsen.net>
Cc: 44509@debbugs.gnu.org
Subject: bug#44509: 28.0.50; Error querying with new gnus-search and notmuch
Date: Wed, 11 Nov 2020 21:50:22 +0000	[thread overview]
Message-ID: <87361fva01.fsf@gnus.jao.io> (raw)
In-Reply-To: <87wnyremk5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 11 Nov 2020 11:11:06 -0800")

On Wed, Nov 11 2020, Eric Abrahamsen wrote:

[...]

> I see, I had your problem backwards. My guess is that no one has tried
> to do this before, so the issue has never come up.
>
> BTW, while there's no longer a "gmane" search engine, it would be nice
> to provide an engine for searching other nntp servers. In your case
> you're running it locally, but do you know if a remote leafnode server
> handles any sort of search functionality? (I might as well google this
> myself.)

No, i don't think leafnode does anything of the sort (it's old, from
simpler times, and kind of opinionated on a minimal feature set).

[...]

> Okay! Glad that's sorted. You might still want a new engine, if you have
> other notmuch engines that shouldn't inherit this behavior.

Yes, and it's just adding a single line to the above code, so pretty cheap.


[...]

> Hmm, I guess it wouldn't be useful for me to implement this in the
> general case, since the ids aren't going to be accepted by nnselect.
>
>> That's all (well, obviating thread seaches, but those are not hard
>> either).  Except that it doesn't work because nnselect wants
>> [group article-no score].  If you tell me how to obtain article-no from
>> message-id, i'm done :)
>
> For nnimap, it's `nnimap-find-article-by-message-id'.

Well, that function is contacting back the imap server and asking for a
(simple) search, so it's going to be very roundabout even if it finally
works (i cannot manage to make it work for me, although i'm surely doing
something wrong and its implementation not trivial).  

fst-xapian doesn't look that bad, after all (actually, i was confusing
it with solr or elastic which need independent servers and are too
heavyweight for me.) :)

Thanks,
jao





  reply	other threads:[~2020-11-11 21:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08  1:44 bug#44509: 28.0.50; Error querying with new gnus-search and notmuch Jose A. Ortega Ruiz
2020-11-08  2:23 ` Eric Abrahamsen
2020-11-08  2:49   ` Jose A. Ortega Ruiz
2020-11-08  4:53     ` Eric Abrahamsen
2020-11-08  7:09       ` Jose A. Ortega Ruiz
2020-11-11  5:10         ` Jose A. Ortega Ruiz
     [not found]           ` <uMxcF8JPFQWri9-dIaeTgjGDP3ACtDZ1GqktYJqUzsD2Yh3axLc8KfS50JxW0gyoZYNJsPwSC_j0rx-q8W9AVw==@protonmail.internalid>
2020-11-11 17:51           ` Eric Abrahamsen
2020-11-11 17:56             ` Eric Abrahamsen
2020-11-11 18:29             ` jao
2020-11-11 19:11               ` Eric Abrahamsen
2020-11-11 21:50                 ` jao [this message]
2020-11-12  0:29                   ` 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=87361fva01.fsf@gnus.jao.io \
    --to=jao@gnu.org \
    --cc=44509@debbugs.gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).