[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus-search since: not working for nnimap

From: Eric Abrahamsen
Subject: Re: gnus-search since: not working for nnimap
Date: Sat, 28 Jan 2023 10:20:13 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

Julien Cubizolles <> writes:

> I've gnus-search configured to use gnus-search-imap for a nnimap
> method. G G (gnus-group-read-ephemeral-search-group) doesn't return any
> result when using a query like "since:1y" on a nnimap group whereas:
> + the same query works in a nnml group
> + a query like "from:user" returns many results in this time range on
>   the same nnimap group.
> Isn't "since:1y" a valid query for nnimapĀ ?

It should be!

> The nnimap group is managed by a local dovecot server. Does it
> matterĀ ?

No, I don't think so. I tried it on one of my own nnimap servers, backed
by local dovecot, and it returned several thousand messages.

You can play with the bits and pieces to see where things might be going

(gnus-search-query-parse-date "1y") -> (28 1 2022)
(gnus-search-parse-query "since:1y") - > ((since 28 1 2022))

So far so good.

 (make-instance 'gnus-search-imap)
 (gnus-search-parse-query "since:1y")) -> "SINCE 28-Jan-2022"

Still looking correct (right?).

Try doing "C-u G G" on an nnimap group to shut off gnus-search parsing,
and enter "SINCE 28-Jan-2022" as the search string. Does that return


reply via email to

[Prev in Thread] Current Thread [Next in Thread]