Re: wrong gnus-search in nnml folder

2023-02-02 Thread Fernando de Morais
Hello Eric, Eric Abrahamsen 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) >

Re: wrong gnus-search in nnml folder

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

Re: wrong gnus-search in nnml folder

2023-02-01 Thread Eric Abrahamsen
Fernando de Morais writes: > Hello Angel and Eric, > > Angel de Vicente 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 se

Re: wrong gnus-search in nnml folder

2023-02-01 Thread Fernando de Morais
Hello Angel and Eric, Angel de Vicente 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 annoye

Re: wrong gnus-search in nnml folder

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

Re: wrong gnus-search in nnml folder

2023-01-31 Thread Angel de Vicente
Hi again, Angel de Vicente 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 doe

Re: wrong gnus-search in nnml folder

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

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: > > ,

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