From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: wrong gnus-search in nnml folder
Date: Mon, 30 Jan 2023 09:45:45 -0800 [thread overview]
Message-ID: <871qnbx6eu.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <877cx46yr2.fsf@gmail.com>
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?
next prev parent reply other threads:[~2023-01-30 17:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-30 11:35 Angel de Vicente
2023-01-30 17:45 ` Eric Abrahamsen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qnbx6eu.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).