Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* wrong gnus-search in nnml folder
@ 2023-01-30 11:35 Angel de Vicente
  2023-01-30 17:45 ` Eric Abrahamsen
  0 siblings, 1 reply; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 11:35 UTC (permalink / raw)
  To: info-gnus-english

Hello,

piggypbacking from the thread started by Julien Cubizolles...

I have all my mail in nnml folders, but searching seems really broken
here. In a folder where I keep all my 2022 mails, if I do

G G since:3d

I get mails for the following dates:

,----
| O   (20-Jan-2022) ( 11k)  
| O   (02-Feb-2022) (1.1k)  
| O   (10-Mar-2022) ( 10k)  
| OA      (10-Mar-2022) ( 11k)  
| O           (10-Mar-2022) (0.6k)  
| O           (10-Mar-2022) ( 18k)  
| O               (11-Mar-2022) ( 17k)  
| OA                  (12-Mar-2022) ( 18k)  
| O                       (12-Mar-2022) (0.6k)  
| O                           (12-Mar-2022) (1.7k)  
| O                               (17-Mar-2022) (2.5k)  
| O                                   (17-Mar-2022) (3.0k)  
| O                                       (17-Mar-2022) (5.6k)  
| O   (24-Mar-2022) (9.6k)  
| O   (12-May-2022) ( 36k)  
| O   (04-Jun-2022) ( 11k)  
| OA  (29-Aug-2022) (5.1k)  
| O       (30-Aug-2022) (1.1k)  
| O           (30-Aug-2022) (3.0k)  
`----

G G since:5d

or

G G since:1d

return nothing.

Any idea what could be going on in here?

Cheers,
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 11:35 wrong gnus-search in nnml folder Angel de Vicente
@ 2023-01-30 17:45 ` Eric Abrahamsen
  2023-01-30 18:14   ` Angel de Vicente
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Abrahamsen @ 2023-01-30 17:45 UTC (permalink / raw)
  To: info-gnus-english

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> Hello,
>
> piggypbacking from the thread started by Julien Cubizolles...
>
> I have all my mail in nnml folders, but searching seems really broken
> here. In a folder where I keep all my 2022 mails, if I do
>
> G G since:3d
>
> I get mails for the following dates:
>
> ,----
> | O   (20-Jan-2022) ( 11k)  
> | O   (02-Feb-2022) (1.1k)  
> | O   (10-Mar-2022) ( 10k)  
> | OA      (10-Mar-2022) ( 11k)  
> | O           (10-Mar-2022) (0.6k)  
> | O           (10-Mar-2022) ( 18k)  
> | O               (11-Mar-2022) ( 17k)  
> | OA                  (12-Mar-2022) ( 18k)  
> | O                       (12-Mar-2022) (0.6k)  
> | O                           (12-Mar-2022) (1.7k)  
> | O                               (17-Mar-2022) (2.5k)  
> | O                                   (17-Mar-2022) (3.0k)  
> | O                                       (17-Mar-2022) (5.6k)  
> | O   (24-Mar-2022) (9.6k)  
> | O   (12-May-2022) ( 36k)  
> | O   (04-Jun-2022) ( 11k)  
> | OA  (29-Aug-2022) (5.1k)  
> | O       (30-Aug-2022) (1.1k)  
> | O           (30-Aug-2022) (3.0k)  
> `----
>
> G G since:5d
>
> or
>
> G G since:1d
>
> return nothing.
>
> Any idea what could be going on in here?

Okay, same test for you! What does this return?

(gnus-search-query-parse-date "3d")
(gnus-search-parse-query "since:3d")

You haven't said what search engine you're using, but if it's notmuch:

(gnus-search-transform
 (make-instance 'gnus-search-notmuch)
 (gnus-search-parse-query "since:3d")) -> "date:1/27/2023.."

And can you tell me what locale your machine is in? Does Julien's last
patch fix the problem?



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 17:45 ` Eric Abrahamsen
@ 2023-01-30 18:14   ` Angel de Vicente
  2023-01-30 18:27     ` Angel de Vicente
  0 siblings, 1 reply; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 18:14 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Okay, same test for you! What does this return?
>
> (gnus-search-query-parse-date "3d")

(27 1 2023)

> (gnus-search-parse-query "since:3d")

((since 27 1 2023))

> You haven't said what search engine you're using, but if it's notmuch:

it is ages since I configured this, but I'm not using notmuch, it is
just whatever stock method comes with Gnus, *I think*

> And can you tell me what locale your machine is in? Does Julien's last
> patch fix the problem?

en_GB.UTF-8

His change was for IMAP, right? In my case is just local nnml
folders. (In any case I did try the patch just in case, but no change).

Cheers,
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 18:14   ` Angel de Vicente
@ 2023-01-30 18:27     ` Angel de Vicente
  2023-01-30 18:46       ` Eric Abrahamsen
  0 siblings, 1 reply; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 18:27 UTC (permalink / raw)
  To: info-gnus-english


>> You haven't said what search engine you're using, but if it's notmuch:
>
> it is ages since I configured this, but I'm not using notmuch, it is
> just whatever stock method comes with Gnus, *I think*

should be mairix.

my gnus-search-default-engines variable' value is:

,----
| ((nnimap . gnus-search-imap)
|  (nnml . gnus-search-mairix))
`----


-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 18:27     ` Angel de Vicente
@ 2023-01-30 18:46       ` Eric Abrahamsen
  2023-01-30 20:54         ` Angel de Vicente
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Abrahamsen @ 2023-01-30 18:46 UTC (permalink / raw)
  To: info-gnus-english

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

>>> You haven't said what search engine you're using, but if it's notmuch:
>>
>> it is ages since I configured this, but I'm not using notmuch, it is
>> just whatever stock method comes with Gnus, *I think*
>
> should be mairix.
>
> my gnus-search-default-engines variable' value is:
>
> ,----
> | ((nnimap . gnus-search-imap)
> |  (nnml . gnus-search-mairix))
> `----

So that's:

(gnus-search-transform
 (make-instance 'gnus-search-mairix)
 (gnus-search-parse-query "since:3d")) -> "d:20230127-"

As I read the spec, that's the correct format (actually, mairix could
also handle the "3d" directly, but there's currently no option to pass
the unparsed search string through). Can you check on the command line,
outside of Gnus, and confirm that you see the correct messages returned?

You can also edebug `gnus-search-run-search' for the
`gnus-search-indexed' engine (gnus-search.el:1394 in master), and see
if anything funky is happening in there.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 18:46       ` Eric Abrahamsen
@ 2023-01-30 20:54         ` Angel de Vicente
  2023-01-30 21:18           ` Angel de Vicente
  0 siblings, 1 reply; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 20:54 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> As I read the spec, that's the correct format (actually, mairix could
> also handle the "3d" directly, but there's currently no option to pass
> the unparsed search string through). Can you check on the command line,
> outside of Gnus, and confirm that you see the correct messages returned?

mairix seems to work no problem:

,----
| $ mairix -o search "d:5d-"
| Matched 314 messages
| $ mairix -o search "d:3d-"
| Matched 134 messages
| $ mairix -o search "d:1d-"
| Matched 75 messages
`----

,----
| $ mairix -o search "d:20230125-"
| Matched 314 messages
| $ mairix -o search "d:20230127-"
| Matched 134 messages
| $ mairix -o search "d:20230129-"
| Matched 75 messages
`----


> You can also edebug `gnus-search-run-search' for the
> `gnus-search-indexed' engine (gnus-search.el:1394 in master), and see
> if anything funky is happening in there.

I will try, though I'm really rusty with Emacs debugging, I will have to
refresh my memory..

-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 20:54         ` Angel de Vicente
@ 2023-01-30 21:18           ` Angel de Vicente
  2023-01-30 22:34             ` Eric Abrahamsen
  0 siblings, 1 reply; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 21:18 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:
> I will try, though I'm really rusty with Emacs debugging, I will have to
> refresh my memory..

ok, it was really easy to remember how to use Edebug. What I found is
that apparently I cannot use "since:3d", "from:angel", etc. and instead I
just have to use the mairix search patterns

so, "d:3d-" or "f:angel" work fine.

I guess the translation from the common format to the mairix specific
one is missing somewhere?

Cheers,
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 21:18           ` Angel de Vicente
@ 2023-01-30 22:34             ` Eric Abrahamsen
  2023-01-30 23:22               ` Angel de Vicente
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Abrahamsen @ 2023-01-30 22:34 UTC (permalink / raw)
  To: info-gnus-english

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> Hello,
>
> Angel de Vicente <angel.vicente.garrido@gmail.com> writes:
>> I will try, though I'm really rusty with Emacs debugging, I will have to
>> refresh my memory..
>
> ok, it was really easy to remember how to use Edebug. What I found is
> that apparently I cannot use "since:3d", "from:angel", etc. and instead I
> just have to use the mairix search patterns
>
> so, "d:3d-" or "f:angel" work fine.
>
> I guess the translation from the common format to the mairix specific
> one is missing somewhere?

That just sounds like you're not using gnus-search at all. What's your
value of `gnus-search-use-parsed-queries'? It is nil by default, and my
guess is you've still got it at nil.

If it is t, how about `gnus-search-mairix-raw-queries-p'? Or have you
added config to the mairix search engine to only use raw queries?



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 22:34             ` Eric Abrahamsen
@ 2023-01-30 23:22               ` Angel de Vicente
  2023-01-31 18:31                 ` Angel de Vicente
  2023-02-02  3:15                 ` Fernando de Morais
  0 siblings, 2 replies; 16+ messages in thread
From: Angel de Vicente @ 2023-01-30 23:22 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> That just sounds like you're not using gnus-search at all. What's your
> value of `gnus-search-use-parsed-queries'? It is nil by default, and my
> guess is you've still got it at nil.

oh, indeed it was nil. Changed it and queries like "since:3d" work now
beautifully. What I don't get to work is compound queries like since:3d
from:alex (they work separetely, but nothing gets returned if I try to
combine two queries...


-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 23:22               ` Angel de Vicente
@ 2023-01-31 18:31                 ` Angel de Vicente
  2023-01-31 18:39                   ` Angel de Vicente
  2023-02-01 18:05                   ` Eric Abrahamsen
  2023-02-02  3:15                 ` Fernando de Morais
  1 sibling, 2 replies; 16+ messages in thread
From: Angel de Vicente @ 2023-01-31 18:31 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:
> oh, indeed it was nil. Changed it and queries like "since:3d" work now
> beautifully. What I don't get to work is compound queries like since:3d
> from:alex (they work separetely, but nothing gets returned if I try to
> combine two queries...

just tried again today. I thought I would have to fire edebug again, but
I tried quoting the whole query and it works fine.

So, to clarify:

+ for simple queries I just type:

Query: since:3d

+ for compound queries I need to quote it like:

Query: "from:alex since:3d"

I take it from section 9.3 of the Gnus manual that this is not intended.

Cheers,
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-31 18:31                 ` Angel de Vicente
@ 2023-01-31 18:39                   ` Angel de Vicente
  2023-02-01 18:05                   ` Eric Abrahamsen
  1 sibling, 0 replies; 16+ messages in thread
From: Angel de Vicente @ 2023-01-31 18:39 UTC (permalink / raw)
  To: info-gnus-english

Hi again,

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> just tried again today. I thought I would have to fire edebug again, but
> I tried quoting the whole query and it works fine.

sorry for the noise, I spoke too fast. 

> + for compound queries I need to quote it like:
>
> Query: "from:alex since:3d"

this doesn't complain, but it ends up being the same as since:3d
(i.e. the first term is simply ignored)


-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-31 18:31                 ` Angel de Vicente
  2023-01-31 18:39                   ` Angel de Vicente
@ 2023-02-01 18:05                   ` Eric Abrahamsen
  1 sibling, 0 replies; 16+ messages in thread
From: Eric Abrahamsen @ 2023-02-01 18:05 UTC (permalink / raw)
  To: info-gnus-english

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> Hello,
>
> Angel de Vicente <angel.vicente.garrido@gmail.com> writes:
>> oh, indeed it was nil. Changed it and queries like "since:3d" work now
>> beautifully. What I don't get to work is compound queries like since:3d
>> from:alex (they work separetely, but nothing gets returned if I try to
>> combine two queries...
>
> just tried again today. I thought I would have to fire edebug again, but
> I tried quoting the whole query and it works fine.
>
> So, to clarify:
>
> + for simple queries I just type:
>
> Query: since:3d
>
> + for compound queries I need to quote it like:
>
> Query: "from:alex since:3d"
>
> I take it from section 9.3 of the Gnus manual that this is not intended.

No, that's not how it's supposed to work! So here's our query:

(gnus-search-transform
 (make-instance 'gnus-search-mairix)
 (gnus-search-parse-query "from:alex since:3d"))

-> "f:alex d:20230128-"

And you've confirmed that running "mairix f:alex d:20230128-" works
correctly on the command line?

There's not much other processing going on. Mairix is weird about how it
ANDs and ORs search terms -- you can only OR on the same key -- but that
shouldn't be coming into play here.

For the record, you don't really need to be using gnus-search. If you're
happy with mairix's search language, and you don't expect to ever run
searches against both nnml and nnimap backends at the same time, it
probably won't get you much.

Eric



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-01-30 23:22               ` Angel de Vicente
  2023-01-31 18:31                 ` Angel de Vicente
@ 2023-02-02  3:15                 ` Fernando de Morais
  2023-02-02  6:17                   ` Eric Abrahamsen
  1 sibling, 1 reply; 16+ messages in thread
From: Fernando de Morais @ 2023-02-02  3:15 UTC (permalink / raw)
  To: Angel de Vicente; +Cc: info-gnus-english, eric

Hello Angel and Eric,

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> What I don't get to work is compound queries like since:3d from:alex
> (they work separetely, but nothing gets returned if I try to combine
> two queries...

I use mairix as my search engine on nnmaildir servers and this behavior
has always annoyed me, although I wasn't able to figure out why it
cannot perform this kind of search, until Eric pointed out the
possibility of debugging `gnus-search-run-search'.

The mairix command interprets each query as an individual argument.
When we pass a query like:

#+begin_example
Query: from:alex since:3d
#+end_example

In `gnus-search-run-search' it will become a sole string
("f:alex d:20230129-"), and mairix will return nothing.

Just for a simple experiment, I reevaluated the `gnus-search-run-search'
with the following lines changed:

--- #<buffer gnus-search.el.gz>
+++ #<buffer temp.el>
@@ -1332,7 +1332,8 @@
 	  (message "Doing %s query on %s..." program groups)
 	(message "Doing %s query..." program))
       (setq proc (apply #'start-process (format "search-%s" server)
-			buffer program cp-list))
+			buffer program (flatten-list (mapcar #'split-string
+							     cp-list))))
       (while (process-live-p proc)
 	(accept-process-output proc))
       (setq exitstatus (process-exit-status proc))

And the result of a search like the give example above was the same
given by mairix via terminal.


P.S.: To clarify, I'm using Emacs 28.2.

-- 
Regards,
Fernando de Morais.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-02-02  3:15                 ` Fernando de Morais
@ 2023-02-02  6:17                   ` Eric Abrahamsen
  2023-02-02 11:44                     ` Angel de Vicente
  2023-02-02 12:06                     ` Fernando de Morais
  0 siblings, 2 replies; 16+ messages in thread
From: Eric Abrahamsen @ 2023-02-02  6:17 UTC (permalink / raw)
  To: info-gnus-english

Fernando de Morais <fernandodemorais.jf@gmail.com> writes:

> Hello Angel and Eric,
>
> Angel de Vicente <angel.vicente.garrido@gmail.com> writes:
>
>> What I don't get to work is compound queries like since:3d from:alex
>> (they work separetely, but nothing gets returned if I try to combine
>> two queries...
>
> I use mairix as my search engine on nnmaildir servers and this behavior
> has always annoyed me, although I wasn't able to figure out why it
> cannot perform this kind of search, until Eric pointed out the
> possibility of debugging `gnus-search-run-search'.

Please report all annoyance as a bug! :)

> The mairix command interprets each query as an individual argument.
> When we pass a query like:
>
> #+begin_example
> Query: from:alex since:3d
> #+end_example
>
> In `gnus-search-run-search' it will become a sole string
> ("f:alex d:20230129-"), and mairix will return nothing.
>
> Just for a simple experiment, I reevaluated the `gnus-search-run-search'
> with the following lines changed:
>
> --- #<buffer gnus-search.el.gz>
> +++ #<buffer temp.el>
> @@ -1332,7 +1332,8 @@
>  	  (message "Doing %s query on %s..." program groups)
>  	(message "Doing %s query..." program))
>        (setq proc (apply #'start-process (format "search-%s" server)
> -			buffer program cp-list))
> +			buffer program (flatten-list (mapcar #'split-string
> +							     cp-list))))
>        (while (process-live-p proc)
>  	(accept-process-output proc))
>        (setq exitstatus (process-exit-status proc))
>
> And the result of a search like the give example above was the same
> given by mairix via terminal.
>
>
> P.S.: To clarify, I'm using Emacs 28.2.

That's very interesting! And odd, since none of the other
command-line-type search engines seem to care that the whole query is
passed in as a single string. I wonder if that behavior is an accident,
though, and the mairix behavior is actually the one we should be
expecting. Instead of the patch above, would you confirm that eval'ing
the following produces the right behavior?

(cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mairix)
						  (qstring string)
						  query &optional _groups)
  (with-slots (switches config-file) engine
    (append `("--rcfile" ,config-file "-r")
	   switches
	   (when (alist-get 'thread query) (list "-t"))
	   (split-string qstring))))

Though I'll continue investigating this, and might end up implementing
this for all engines.

Thanks for the bug-hunting,
Eric



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-02-02  6:17                   ` Eric Abrahamsen
@ 2023-02-02 11:44                     ` Angel de Vicente
  2023-02-02 12:06                     ` Fernando de Morais
  1 sibling, 0 replies; 16+ messages in thread
From: Angel de Vicente @ 2023-02-02 11:44 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Instead of the patch above, would you confirm that eval'ing
> the following produces the right behavior?
>
> (cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mairix)
> 						  (qstring string)
> 						  query &optional _groups)
>   (with-slots (switches config-file) engine
>     (append `("--rcfile" ,config-file "-r")
> 	   switches
> 	   (when (alist-get 'thread query) (list "-t"))
> 	   (split-string qstring))))

I just tried eval'ing this, and it works just fine now (it will go to my
.gnus.el file for the time being).

Thanks a lot!
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: wrong gnus-search in nnml folder
  2023-02-02  6:17                   ` Eric Abrahamsen
  2023-02-02 11:44                     ` Angel de Vicente
@ 2023-02-02 12:06                     ` Fernando de Morais
  1 sibling, 0 replies; 16+ messages in thread
From: Fernando de Morais @ 2023-02-02 12:06 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: info-gnus-english, angel.vicente.garrido

Hello Eric,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Please report all annoyance as a bug! :)

Sorry, I will!  😅

> Instead of the patch above, would you confirm that eval'ing the
> following produces the right behavior?
>
> (cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mairix)
> 						  (qstring string)
> 						  query &optional _groups)
>   (with-slots (switches config-file) engine
>     (append `("--rcfile" ,config-file "-r")
> 	   switches
> 	   (when (alist-get 'thread query) (list "-t"))
> 	   (split-string qstring))))

Yes, the search went correctly, as expected.  Thanks!

> Thanks for the bug-hunting,

You're welcome.  🤝

-- 
Regards,
Fernando de Morais.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-02-02 12:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:35 wrong gnus-search in nnml folder Angel de Vicente
2023-01-30 17:45 ` Eric Abrahamsen
2023-01-30 18:14   ` Angel de Vicente
2023-01-30 18:27     ` Angel de Vicente
2023-01-30 18:46       ` Eric Abrahamsen
2023-01-30 20:54         ` Angel de Vicente
2023-01-30 21:18           ` Angel de Vicente
2023-01-30 22:34             ` Eric Abrahamsen
2023-01-30 23:22               ` Angel de Vicente
2023-01-31 18:31                 ` Angel de Vicente
2023-01-31 18:39                   ` Angel de Vicente
2023-02-01 18:05                   ` Eric Abrahamsen
2023-02-02  3:15                 ` Fernando de Morais
2023-02-02  6:17                   ` Eric Abrahamsen
2023-02-02 11:44                     ` Angel de Vicente
2023-02-02 12:06                     ` Fernando de Morais

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).