Re: wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
Hello, Eric Abrahamsen 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 beautif

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente writes: > Hello, > > Angel de Vicente 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

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
Hello, Angel de Vicente 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 ma

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
Hello, Eric Abrahamsen 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

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente 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

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
>> 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 . gnu

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
Hello, Eric Abrahamsen 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 configu

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente 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: > > ,

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

wrong gnus-search in nnml folder

2023-01-30 Thread Angel de Vicente
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-Fe

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