Package: notmuch
Version: 0.22.1-3
Severity: minor

Dear Maintainer,

When searching for old mails using the date: notmuch does not consider 7 days
to make one week. In fact it seems to be a bit more than that.

Here is the result of counting the emails:

balisto:~% LANG=C NOTMUCH_DEBUG_QUERY=1 notmuch count "date:1w.." 
Query string is:
date:1w..
Exclude query is:
Xapian::Query((Kspam OR Kkilled))
Final query is:
Xapian::Query(((Tmail AND VALUE_GE 0 à]| Ö) AND_NOT (Kspam OR Kkilled)))
716

balisto:~% LANG=C NOTMUCH_DEBUG_QUERY=1 notmuch count "date:7d.."
Query string is:
date:7d..
Exclude query is:
Xapian::Query((Kspam OR Kkilled))
Final query is:
Xapian::Query(((Tmail AND VALUE_GE 0 à]|K) AND_NOT (Kspam OR Kkilled)))
622

(I don't know why there are those strange characters after VALUE_GE).

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages notmuch depends on:
ii  libc6           2.24-2
ii  libglib2.0-0    2.49.6-1
ii  libgmime-2.6-0  2.6.20-8
ii  libnotmuch4     0.22.1-3
ii  libtalloc2      2.1.7-1
ii  zlib1g          1:1.2.8.dfsg-2+b1

Versions of packages notmuch recommends:
ii  gnupg-agent   2.1.15-2
pn  gpgsm         <none>
ii  notmuch-mutt  0.22.1-3

notmuch suggests no packages.

-- no debconf information

Reply via email to