Re: gnus-search since: not working for nnimap

2023-02-01 Thread Björn Bidar
I suggest to use locale C but C.UTF-8, C is to limited.

Re: gnus-search since: not working for nnimap

2023-01-30 Thread Eric Abrahamsen
Julien Cubizolles writes: > Julien Cubizolles writes: > >> 'gnus-search-transform seems to be at fault here. It uses >> '(format-time-string "%e-%b-%Y") where %b returns the "locale’s >> abbreviated month name" when imap commands expects the english abbreviated >> month name. > > It's working wi

Re: gnus-search since: not working for nnimap

2023-01-30 Thread Julien Cubizolles
Julien Cubizolles writes: > 'gnus-search-transform seems to be at fault here. It uses > '(format-time-string "%e-%b-%Y") where %b returns the "locale’s > abbreviated month name" when imap commands expects the english abbreviated > month name. It's working with the attached patch. I'm not sure th

Re: gnus-search since: not working for nnimap

2023-01-30 Thread Julien Cubizolles
Julien Cubizolles writes: > Eric Abrahamsen writes: > >> We'll have to get closer to the IMAP server, then. Actually we don't. I didn't pay enough attention to the results of the previous test you suggested: --8<---cut here---start->8--- (gnus-search-transfo

Re: gnus-search since: not working for nnimap

2023-01-29 Thread Julien Cubizolles
Eric Abrahamsen writes: > We'll have to get closer to the IMAP server, then. If you don't have TLS > enabled on your local dovecot you can probably log in and test with: > > telnet localhost 143 > > Then: > > a login > b select "INBOX" > c UID SEARCH SINCE 28-Jan-2022 > > To confirm that messag

Re: gnus-search since: not working for nnimap

2023-01-29 Thread Eric Abrahamsen
Julien Cubizolles writes: > Eric Abrahamsen writes: > >> You can play with the bits and pieces to see where things might be going >> wrong: >> >> (gnus-search-query-parse-date "1y") -> (28 1 2022) >> (gnus-search-parse-query "since:1y") - > ((since 28 1 2022)) >> >> So far so good. >> >> (gnus-s

Re: gnus-search since: not working for nnimap

2023-01-29 Thread Julien Cubizolles
Eric Abrahamsen writes: > You can play with the bits and pieces to see where things might be going > wrong: > > (gnus-search-query-parse-date "1y") -> (28 1 2022) > (gnus-search-parse-query "since:1y") - > ((since 28 1 2022)) > > So far so good. > > (gnus-search-transform > (make-instance 'gnus-

Re: gnus-search since: not working for nnimap

2023-01-28 Thread Eric Abrahamsen
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

gnus-search since: not working for nnimap

2023-01-28 Thread Julien Cubizolles
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 th