Gnus development mailing list
 help / color / mirror / Atom feed
From: Thomas Alexander Gerds <grb615@ku.dk>
To: "Adam Sjøgren" <asjo@koldfront.dk>
Cc: <ding@gnus.org>
Subject: Re: Help testing gnus-search fixups
Date: Tue, 29 Jun 2021 13:03:09 +0200	[thread overview]
Message-ID: <87zgv97x1u.fsf@ku.dk> (raw)
In-Reply-To: <87a6n9ov0e.fsf@tullinup.koldfront.dk> ("Adam =?iso-8859-1?Q?Sj=F8gren=22's?= message of "Tue, 29 Jun 2021 11:55:13 +0200")

[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]


the attached patch applied to the patched file fixes this for me. 


Adam Sjøgren <asjo@koldfront.dk> writes:

> Adam writes:
>
>> I will give it another go, thanks!
>
> It applied cleanly to master@6b4043833c. I am using notmuch with nnml,
> by having (gnus-search-engine gnus-search-notmuch) on my nnml-method.
>
> If I put point at nnml:normal in the *Group* buffer and press GG and
> type "Honda" as the search term, with the patch, I get:
>
>   Doing notmuch query on (nnml:normal)...
>   Group nnselect:nnselect-87lf6tq9s1.fsf contains no messages
>
> Without the patch, I get a group with search results:
>
>    O. [ 859: Honda Danmark          ] [...]
>    O. [1028: Honda Danmark          ]
>    O  [ 819: Honda Danmark          ]
>    O  [1048: Honda Danmark          ]
>    O  [1002: Honda Danmark          ]
>    O  [1001: Honda Danmark          ]
>    O  [1006: Honda Danmark          ]
>    O  [ 855: Honda Danmark          ]
>    O  [1113: Honda Danmark          ]
>
> Doing the search with notmuch on the commandline:
>
>   $ notmuch search Honda | cut -d' ' -f1-5
>   thread:000000000000f081   2020-06-09 [1/1]
>   thread:000000000000ed7b   2020-06-03 [1/1]
>   thread:000000000000ee56   2020-05-26 [1/1]
>   thread:000000000000efe8   2020-05-18 [1/1]
>   thread:000000000000ed4e   2020-03-12 [1/1]
>   thread:000000000000ed4d   2020-03-12 [1/1]
>   thread:000000000000ef24   2020-01-14 [1/1]
>   thread:00000000000123a0   2019-09-05 [1/1]
>   thread:000000000001239f   2019-09-04 [1/1]
>   thread:000000000000c7cf   2018-10-22 [1/1]
>   thread:0000000000014de8   2018-03-04 [1/1]
>   thread:0000000000004e0d   2014-05-16 [1/1]
>   thread:0000000000009b6a   2000-04-12 [1/1(2)]
>
> (I cut the output to remove information I don't want to share).
>
>
>   Best regards,
>
>     Adam

-- 
7LL-7 Smile, you don’t own all the problems in the world.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-Rework-gnus-search-indexed-parse-output.patch --]
[-- Type: text/x-diff; name="0002-Rework-gnus-search-indexed-parse-output.patch", Size: 403 bytes --]

--- gnus-search-old.el	2021-06-29 13:00:20.478849987 +0200
+++ gnus-search.el	2021-06-29 13:00:28.226895659 +0200
@@ -1373,6 +1373,7 @@
                    nil t)
 	          nil t)
 	         nil t))
+	  (setq group (gnus-group-full-name group server))
           (setq article (file-name-nondirectory f-name)
                 article
                 ;; TODO: Provide a cleaner way of producing final

  reply	other threads:[~2021-06-29 16:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28 16:42 Eric Abrahamsen
2021-06-28 18:00 ` Adam Sjøgren
2021-06-28 23:15   ` Eric Abrahamsen
2021-06-29  6:04     ` Thomas Alexander Gerds
2021-06-29  9:30     ` Adam Sjøgren
2021-06-29  9:55       ` Adam Sjøgren
2021-06-29 11:03         ` Thomas Alexander Gerds [this message]
2021-06-29 11:13           ` Adam Sjøgren
2021-06-29 11:25             ` Adam Sjøgren
2021-06-30 16:58               ` Eric Abrahamsen
     [not found]                 ` <87bl6tuqcb.fsf@posteo.org>
2021-07-23 15:18                   ` Eric Abrahamsen
     [not found]                     ` <87bl6sual8.fsf@posteo.org>
2021-07-24 22:16                       ` Eric Abrahamsen
2021-07-25 11:17                         ` Alexandr Vityazev
2021-07-25 22:11                           ` Eric Abrahamsen
2021-07-30 18:17                           ` Joseph Mingrone
2021-07-30 18:22                             ` Joseph Mingrone
2021-07-30 18:47                               ` Eric Abrahamsen
2021-07-30 19:29                                 ` Joseph Mingrone
2021-07-30 20:23                                   ` Eric Abrahamsen
2021-07-30 19:34                             ` Alexandr Vityazev
2021-07-30 20:25                               ` Eric Abrahamsen
2021-08-05 17:15                                 ` Eric Abrahamsen
2021-08-05 19:54                                   ` Alexandr Vityazev
2021-08-05 20:19                                     ` Joseph Mingrone
2021-08-05 21:24                                       ` Eric Abrahamsen
2021-08-05 21:38                                         ` Joseph Mingrone
2021-08-07 16:07                                           ` Eric Abrahamsen
2021-08-10  7:32                                             ` Daniel Jensen
2021-08-13 16:50                                               ` Eric Abrahamsen
2021-08-13 19:30                                                 ` Daniel Jensen
2021-08-13 19:37                                                   ` Eric Abrahamsen
2021-06-29 11:27 ` Eric S Fraga
2021-09-11 13:29 Sergey Makarov
2021-09-11 15:04 ` 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

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

  git send-email \
    --in-reply-to=87zgv97x1u.fsf@ku.dk \
    --to=grb615@ku.dk \
    --cc=asjo@koldfront.dk \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).