From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jao Newsgroups: gmane.emacs.bugs Subject: bug#44509: 28.0.50; Error querying with new gnus-search and notmuch Date: Wed, 11 Nov 2020 21:50:22 +0000 Message-ID: <87361fva01.fsf@gnus.jao.io> References: <87imag7kkh.fsf@gnus.jao.io> <87361kd1sg.fsf@ericabrahamsen.net> <87v9eg7ec3.fsf@gnus.jao.io> <874km0bgat.fsf@ericabrahamsen.net> <87blg8729u.fsf@gnus.jao.io> <875z6cxyue.fsf@gnus.jao.io> <877dqrhjea.fsf@ericabrahamsen.net> <87eekzwxuh.fsf@gnus.jao.io> <87wnyremk5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16101"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44509@debbugs.gnu.org To: "Eric Abrahamsen" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 11 22:51:10 2020 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 1kcy1G-00043F-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 22:51:10 +0100 Original-Received: from localhost ([::1]:41810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcy1F-0004kz-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 16:51:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcy18-0004ko-2H for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 16:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcy17-0007IV-Pu for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 16:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcy17-0004Bd-OO for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 16:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jao Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Nov 2020 21:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44509 X-GNU-PR-Package: emacs Original-Received: via spool by 44509-submit@debbugs.gnu.org id=B44509.160513143416057 (code B ref 44509); Wed, 11 Nov 2020 21:51:01 +0000 Original-Received: (at 44509) by debbugs.gnu.org; 11 Nov 2020 21:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:43084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcy0f-0004Av-Ny for submit@debbugs.gnu.org; Wed, 11 Nov 2020 16:50:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcy0d-0004Ai-81 for 44509@debbugs.gnu.org; Wed, 11 Nov 2020 16:50:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38075) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcy0X-00074n-KX; Wed, 11 Nov 2020 16:50:25 -0500 Original-Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:33982 helo=osgiliath.local) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kcy0X-0006wD-1K; Wed, 11 Nov 2020 16:50:25 -0500 Original-Received: by osgiliath.local (Postfix, from userid 1000) id 323E1407E8; Wed, 11 Nov 2020 21:50:22 +0000 (GMT) In-Reply-To: <87wnyremk5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 11 Nov 2020 11:11:06 -0800") X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: 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:193139 Archived-At: 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